foxglovesec / Potato

685 stars 166 forks source link

Unhandled Exception: FileNotFound #2

Closed PhilipWerlau closed 8 years ago

PhilipWerlau commented 8 years ago

OS: Windows 7 Ultimate SP1 x64

.\Potato.exe -ip 10.1.11.108 -cmd notepad.exe -disable_exhaust true Starting NBNS spoofer...WPAD = 127.0.0.1 Clearing dns and nbns cache... Got 127.0.0.1 Spoofed target WPAD succesfully... Checking for windows defender updates... Checking for windows defender updates... Checking for windows defender updates... Checking for windows defender updates... Checking for windows defender updates... Checking for windows defender updates... Checking for windows defender updates... Checking for windows defender updates... Checking for windows defender updates... Checking for windows defender updates... Checking for windows defender updates... Checking for windows defender updates... Checking for windows defender updates... Checking for windows defender updates... Checking for windows defender updates... Checking for windows defender updates...

Unhandled Exception: System.IO.FileNotFoundException: Could not load file or assembly 'NHttp, Version=0.1.8.0, Culture=neutral, PublicKeyToken=156364e4f7b202d9' or one of its dependencies. The system cannot find the file specified. File name: 'NHttp, Version=0.1.8.0, Culture=neutral, PublicKeyToken=156364e4f7b202d9' at Potato.HTTPNtlmHandler.startListening(String cmd, String[] wpad_exclude, Int32 port) at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state) at System.Threading.ThreadHelper.ThreadStart()

WRN: Assembly binding logging is turned OFF. To enable assembly bind failure logging, set the registry value HKLM\Software\Microsoft\Fusion!EnableLog to 1. Note: There is some performance penalty associated with assembly bind failure logging. To turn this feature off, remove the registry value [HKLM\Software\Microsoft\Fusion!EnableLog].

jstnkndy commented 8 years ago

Have you tried using the full path?

PhilipWerlau commented 8 years ago

Yes

jstnkndy commented 8 years ago

Does it pop running without any -cmd?

PhilipWerlau commented 8 years ago

I get the same error when I leave out the -cmd

wudidong commented 8 years ago

@PhilipWerlau Download NHttp.dll and SharpCifs.dll

PhilipWerlau commented 8 years ago

Thanks @wudidong. That was it.

mpgn commented 8 years ago

Same here, NHttp.dll and SharpCifs.dll are already in the directory of potato.exe. Windows 7 SP1

-a---        27/06/2016     17:39      57856 NHttp.dll
-a---        27/06/2016     17:39     136704 NHttp.pdb
-a---        27/06/2016     17:39      21504 Potato.exe
-a---        27/06/2016     17:39        157 Potato.exe.config
-a---        27/06/2016     17:39      30208 Potato.pdb
-a---        27/06/2016     17:39      21680 Potato.vshost.exe
-a---        27/06/2016     17:39        157 Potato.vshost.exe.config
-a---        27/06/2016     17:39        490 Potato.vshost.exe.manifest
-a---        27/06/2016     17:39     330240 SharpCifs.dll
-a---        27/06/2016     17:39    1400320 SharpCifs.pdb