less than 1 minute read

Setup HTTP Server

python -m SimpleHTTPServer 80

python3 -m http.server 80

php -S <IP>:80

ruby -run -e httpd . -p 80

busybox httpd -f -p 80

Temp File location

generally temp file has writable permission , so we can use it to downlaod and execute our payloads

Linux

/tmp

/dev/shm

Windows

%systemdrive%\Windows\Temp

%userprofile%\AppData\Local\Temp