BitsArbitraryFileMove icon indicating copy to clipboard operation
BitsArbitraryFileMove copied to clipboard

Compiling Issue

Open maliciouspentester opened this issue 5 years ago • 8 comments

The attached code has some compilation issues.

maliciouspentester avatar Apr 12 '20 22:04 maliciouspentester

Compile for release on x86 and it will just work

chppppp avatar Apr 17 '20 16:04 chppppp

@maliciouspentester @chppppp You can get it to compile for x64, does take a bit of work as you have to adjust how things are linked and add a new target for one of the projects, but its possible to do this. If @itm4n is okay with it, I'm happy to make a PR that adds support for compiling for x64 machines.

gwillcox-r7 avatar Jun 07 '20 20:06 gwillcox-r7

Hi @chppppp
Compile for release on x86 and it will just work ? you test it ? i try to run exploit i get this error : BitsArbitraryFileMoveExploit.exe [+]Building TypeLib:C:\Inetpub\vhosts\hometools\httpdocs\upload_file\SysFxUI.dll [+]Typelib:script:C:\Inetpub\vhosts\hometools\httpdocs\upload_file\run.sct,IMyPageFactory,{87D5F036-FAC3-4390-A1E8-DFA8A62C09E7} [+]Copy Back File Failed [!] The directory 'C:\Windows\TEMP\workspace' already exists. [-] CreateDirectory('C:\Windows\TEMP\workspace\mountpoint') failed (Err: 183). [-] BitsArbitraryFileMove::PrepareWorkspace() failed. [*] Performing clean-up... [!] RemoveDirectory('C:\Windows\TEMP\workspace') failed (Err: 145).

if you compile it what is your compiler program name ?

g0ld-man865 avatar Jul 18 '20 19:07 g0ld-man865

Visual Studio

chppppp avatar Jul 18 '20 19:07 chppppp

@chppppp i use 2019 but it give me an error which file that i will add to visual studio ?

g0ld-man865 avatar Jul 18 '20 19:07 g0ld-man865

there is a many folders which folder that i download in order to put in visual studio ? thank you in advanced

g0ld-man865 avatar Jul 18 '20 20:07 g0ld-man865

C\users\g0ld.man\Repos\BitsArbitraryFileMove\Release\BitsArbitraryFileMove.lib in not valid Win32 application

g0ld-man865 avatar Jul 18 '20 20:07 g0ld-man865

since i actively punish my brain cells on a daily basis i dont really remember doing anything fancy. just compile for release on x86 and it should work. if it doesnt then idk =[

also, why are you trying to execute a .lib file? look for an exe.

chppppp avatar Jul 18 '20 20:07 chppppp