Kindles blog
On the server of a login master machine, there are NN multi-site, maybe we have a webshell through a certain kind of path, however, the configuration files of web servers such as apache and other web servers cannot be found. At this time, it is quite difficult. If there are hundreds of websites on the server and the file names are generated by machines, it is even more depressing.
However, there are methods to quickly locate targets. We only need to use two linux commands
First, find the connector of a video segment on the target site and view the file name of the video segment. For example, the position of fuckyou.jpg
Find-name/www fuckyou.jpg> 1.txt
At the end of the tutorial, I can upload cat 1.txtto 1.txt, which shows the opposite route of wwww.fuckyou.com standing on the server.
Or use the locate command to find
Locate fuckyou.jpg> 1.txt
In this way, even if we cannot find the configuration file of the web server, we can quickly find the correct path of the target server.