当前位置:网站首页>(4) Web security | penetration testing | network security web site source code and related analysis
(4) Web security | penetration testing | network security web site source code and related analysis
2022-07-06 07:07:00 【Black zone (rise)】
as everyone knows :
web Source code is a very important source of information in security testing , It can be used for code audit vulnerabilities and information breakthrough , among WEB There are many technologies in the source code that need concise analysis .
eg: obtain ASP The source code can be downloaded from the default database , To obtain the source code vulnerability of some other script, you can conduct code audit, mine or analyze its business logic, etc , Therefore, the acquisition of source code will provide more ideas for later security testing
Web Source directory structure
Database configuration file , Background Directory , The template directory , Database directory, etc
admin---------------------------------- Website background Directory
data------------------------------------ Database related directories
install---------------------------------- The installation directory
member------------------------------- Membership directory
template------------------------------ The template directory ( Build an overall architecture related to the website )
data(confing.php)-------------- Database configuration file , Communication information of website and database , Connection account password , You can connect to each other's database , From the database to get the source code of this website, which involves the administrator's account and password .
You can see how to open a source code of Baidu online , Some small ones may only have some directories
Web Source script type
ASP,PHP,ASPX,JSP,JAVAWEB And other script type source code security issues
Check the type of website through the file directory
About Web Source application classification
Portal site --------------------------- comprehensive
Online retailers --------------------------------- Business logic
Forum ---------------------------------XSS
Blog --------------------------------- Less
The third party ------------------------------ Look at its function
Access to source code : Search for , Free fish Taobao , Third party source station , Corresponding to various industries .
Open source : You can search the vulnerability related articles on the Internet .
Inside : Routine penetration tests , Use scanning tools to judge .
If you can't get the source code, you can find the same type of source code analysis
Identify the cms, Here's a asp Script written website
The bottom display technical support is GOOMAY company-developed ,
Then I want to find out if he is using cms Developed , Developed by ourselves
Add /robots.txt See if you can see
The result is the login page
Now I'm going to try this one that provides technical support , It is developed by ourselves , still cms Developed
① If we analyze the used cms edition , You can find the vulnerability of the corresponding version of Baidu online
② If the website has been patched , Then consider scanning tools and related source code for analysis
③ If they developed it bit by bit , No source code , It's time to scan bit by bit
边栏推荐
- UWA Pipeline 2.2.1 版本更新说明
- 作者已死?AI正用藝術征服人類
- Uncaught typeerror: cannot red properties of undefined (reading 'beforeeach') solution
- The ECU of 21 Audi q5l 45tfsi brushes is upgraded to master special adjustment, and the horsepower is safely and stably increased to 305 horsepower
- How to reconstruct the class explosion caused by m*n strategies?
- librosa音频处理教程
- UNIPRO Gantt chart "first experience": multi scene exploration behind attention to details
- 中青看点阅读新闻
- 18. Multi level page table and fast table
- 这个高颜值的开源第三方网易云音乐播放器你值得拥有
猜你喜欢
Oracle数据库11gr2使用tde透明数据加密报错ora28353,如果运行关闭wallet会报错ora28365,运行打开wallet就报错ora28353无法打开wallet
Hydra common commands
因高额网络费用,Arbitrum 奥德赛活动暂停,Nitro 发行迫在眉睫
UWA pipeline version 2.2.1 update instructions
AttributeError: Can‘t get attribute ‘SPPF‘ on <module ‘models.common‘ from ‘/home/yolov5/models/comm
Entity Developer数据库应用程序的开发
Brief introduction to the curriculum differences of colleges and universities at different levels of machine human major -ros1/ros2-
数据仓库建设思维导图
Win10 64 bit Mitsubishi PLC software appears oleaut32 DLL access denied
The first Baidu push plug-in of dream weaving fully automatic collection Optimization SEO collection module
随机推荐
【每日一题】729. 我的日程安排表 I
How are the open source Netease cloud music API projects implemented?
Apache dolphin scheduler source code analysis (super detailed)
leetcode1020. 飞地的数量(中等)
leetcode6109. 知道秘密的人数(中等,周赛)
The difference between get and post request types
LeetCode Algorithm 2181. Merge nodes between zero
The first Baidu push plug-in of dream weaving fully automatic collection Optimization SEO collection module
Depth residual network
[daily question] 729 My schedule I
kubernetes集群搭建Zabbix监控平台
Setting and using richview trvstyle template style
TS Basics
supervisor 使用文档
19. Actual memory management of segment page combination
Proteus -- Serial Communication parity flag mode
Brief introduction to the curriculum differences of colleges and universities at different levels of machine human major -ros1/ros2-
Win10 64 bit Mitsubishi PLC software appears oleaut32 DLL access denied
数据仓库建设思维导图
【Hot100】739. 每日温度