博客
关于我
强烈建议你试试无所不能的chatGPT,快点击我
Source Code Review
阅读量:5978 次
发布时间:2019-06-20

本文共 2599 字,大约阅读时间需要 8 分钟。

1、berfore we talking abnout the Source Code review,here's what we want to know about the most popular programming langurages .

  •      Web application development :Java C#  NET and PHP
  •       Drivers and handware C C#   and assembly language
  •      Reverse engineering : Assembly langurage
  •      Database : Structured Query LangurageSQL
  •      Scripting lanurage: Python Perl and Ruby

2、Secure coding cheklist

  •     Authentication and credentials must use TLS and not HTTP cleartext
  •    Authentication must be enforced on all page ,except the ones intended to the public
  •    the erroe messages pages should not lead to information-gathering disclosure
  •    Authenticication logic must be validated on the server
  •    Authentication passwords must be saved uner secure hashing algorithms and salting is perferable
  •    The password's hashing logic must be on the server side
  •   Session must be managed on the server side
  •    Session idetifier must be random
  •   Any cryptographic functionality to protect data shold be implemented on the server side
  •   All data validation must be performed on the server side
  •   Encode data before validation
  •   All validation failures should be rejected in a custom error message
  •   Conduct all the encoding logic on the server side
  •   Sanitize all the output of understed data foe SQl ,XML LDAP and operating system commands
  •   Do not disclose sensitive information in the error messages, including debuffing information such as stack track
  •   Use custom reeor messages and error pages
  •  Temporary sensitive data must be stored in a secure location ,and those itmes must be purged as soon as possible
  •  Remove comments in the source code that may reveal critical information about the application
  •  Sensitive information should should not be used in the query sting
  •  Data int the  transit must be encrypted with the lasest and greatest TLS algorithms
  • Make sure that you remove test codes before deployment

3、Rest API ststus return code (this chapter I've already written about  on my previous blog )

  •     200   the action is ok
  •     202  the request to create
  •     204 the post request did not include a client-generated id
  •     400 the request is malformed
  •     401 Wrong authentication ID or credentials
  •     403 an authenticated user does not have permission to access the resource
  •     404 requesting a nonexistant resource
  •      405  Unexpected Http method in the request
  •     this error may occur when a dos attack is deleted

4、Passive information gathering reconnaissance ----OSINT

       OSINT it mean's  Open Source Intelligence ,let's see the Web search engines

        besides baidu and google 、yahu . i often use the http://yandex.com  and  http://duckduckgo.com  as follow

 

 

 

  

 

转载于:https://www.cnblogs.com/xinxianquan/p/10230716.html

你可能感兴趣的文章
windows下的php的memcache扩展的安装及memcache最新下载地址
查看>>
YOLOv3: 训练自己的数据(绝对经典版本1)
查看>>
POJ 1150 The Last Non-zero Digit 《挑战程序设计竞赛》
查看>>
Could not find artifact com.sun:tools:jar:1.5.0 解决办法
查看>>
phpstorm xdebug remote配置
查看>>
引用与指针的区别
查看>>
pygtk笔记--2.1:布局容器,VBox、Hbox、Alignment
查看>>
dtree.js树的使用
查看>>
Springboot2.1.3 + redis 实现 cache序列化乱码问题
查看>>
python 异常处理
查看>>
线程什么时候需要同步,什么时候不需要同步?
查看>>
Struts2 自定义拦截器(方法拦截器)
查看>>
Linux服务器的那些性能参数指标
查看>>
BZOJ 2302: [HAOI2011]Problem c [DP 组合计数]
查看>>
Atitti 过程导向 vs 结果导向 attlax的策
查看>>
mysql主从同步(5)-同步延迟状态考量(seconds_behind_master和pt-heartbea)
查看>>
c++ 11开始语言本身和标准库支持并发编程
查看>>
2017春节~人生智慧箴言
查看>>
.NET Core 之 MSBuild 介绍
查看>>
mongodb概念
查看>>