Closed FlappyDude2003 closed 5 years ago
Yes Be sure to use GNU make and Mingw-w64 i686 gcc toolkit
i know what gcc is but what is gnu make?
Anyway, it's just make
.
so i just compile make?
Yes
Forget, also install python2
i’m confused, explain in steps on how to compile a payload (sorry)
sorry, this is wip. using make you can only build all of the payloads to
But you can define the PL2 macro somewhere
will they all be separate executables?
Of course (but their size will be same, it's a desired effect)
sooo what do i use to compile make?
Compile the make program? There are many prebuilts for make
noooo tell me the exact steps on how to compile the payloads. i’m not very good with this stuff (i’m sorry)
can i use cygwin or what do i have to use to run it?
On Sat, Jun 1, 2019 at 7:34 PM Liu-Wen-Yuan notifications@github.com wrote:
Then just run make in the terminal
— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/Dobby233Liu/MEMZPayloads/issues/1?email_source=notifications&email_token=AG74CSOCJCD72IQJA5JJQD3PYMIQVA5CNFSM4HSATM72YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGODWXLFOQ#issuecomment-497988282, or mute the thread https://github.com/notifications/unsubscribe-auth/AG74CSID33SLYW5NBAYGMLDPYMIQVANCNFSM4HSATM7Q .
yes, you can use cygwin or msys2
i get an error on cygwin, its this "make2.sh: line 2: make: command not found" help?
i get an error on cygwin, its this "make2.sh: line 2: make: command not found" help?
I told you install make
i realized that lol ill let you know if i get any more errors, i should install python too right?
i realized that lol ill let you know if i get any more errors, i should install python too right?
yes, install python2
i got error 127, also got tons of: /bin/sh: line 2: gcc: command not found
i got error 127, also got tons of: /bin/sh: line 2: gcc: command not found
https://github.com/Dobby233Liu/MEMZPayloads/issues/1#issuecomment-497986642
i reinstalled it with all the required packages and got tons of these errors: "gcc: error: unrecognized command line option ‘-municode’" and at the end i got error 1
i messed it up. should not use cygwin, like the original memz
what should i use instead?
Directly install mingw-w64 and python2 on your Windows machine is a better choice.
so should i install python from the official website and where do i get mingw? links?
google it (hint: on sourceforge) https://sourceforge.net/projects/mingw-w64/
i got python 3.7.3 and python launcher installed from the official website and i downloaded mingw and am installing it.
no, python2
so you want me to get an old version? and for mingw what threads do i use and what exception?
yes, python2 (defined in the original memz). for mingw did quite recommend win32 version not posix.
okay so i am using x86_x64 architecture, win32 threads, and seh as the exception. Is that correct? also im using choco to download python2 is that the correct way?
both yes (but seem like original memz uses i686 arch, nvm)
so do you recommend i use i686 or x86x64? or does it not really matter?
no matter edit: no
alright, python 2 is finishing up installing and i will start mingw now.
ok so everything is installed. what now?
run make in the project dir
so do i just type "make2.sh"?
no, make
. no make2 anymore, because its for debug
so tell me the exact command i need to use. because cmd says "'make' is not recognized as an internal or external command, operable program or batch file."
so tell me the exact command i need to use. because cmd says "'make' is not recognized as an internal or external command, operable program or batch file."
dl https://sourceforge.net/projects/gnuwin32/files/make/3.81/make-3.81.exe/download, then you can use make
ok i downloaded make so what now
yet again, error 1. C:\Program Files (x86)\GnuWin32\bin>make File not found - .c File not found - .h mkdir -p Build mkdir -p Build/Bin The syntax of the command is incorrect. make: *** [Build/Bin] Error 1
I added a alternative Makefile that fit cmd standards. pull out the new version and make -C <the path of Makefile.Win32>
I got this:
C:\Program Files (x86)\GnuWin32\bin>make -C "C:\Program Files (x86)\GnuWin32\bin"
File not found - .c
File not found - .h
make: Entering directory C:/Program Files (x86)/GnuWin32/bin' mkdir -p Build mkdir -p Build/Bin The syntax of the command is incorrect. make: *** [Build/Bin] Error 1 make: Leaving directory
C:/Program Files (x86)/GnuWin32/bin'
ping @FlappyDude2003
@Dobby233Liu still getting error 1? what does this mean?!
C:\Program Files (x86)\GnuWin32\bin>make -C "C:\Program Files (x86)\GnuWin32\bin"
File not found - .c
File not found - .h
make: Entering directory C:/Program Files (x86)/GnuWin32/bin' mkdir -p Build mkdir -p Build/Bin The syntax of the command is incorrect. make: *** [Build/Bin] Error 1 make: Leaving directory
C:/Program Files (x86)/GnuWin32/bin'
Hey man, can i now build those .c files?