David Maloney
383c9ed7f8
set edx as a BufferRegister
...
polymorphic encoders can now always use EDX
as a BufferRegister, making it harder to catch
the decoder stub.
2013-08-25 14:18:32 -05:00
David Maloney
369535b4e3
Some more specs
...
added a few specs to validate the generated exe.
could use some more love, but it's a start
2013-08-25 13:25:31 -05:00
David Maloney
f5e9089dd5
remove dupe comment
2013-08-25 12:46:47 -05:00
David Maloney
a50fa2deec
style fixups
2013-08-25 12:37:30 -05:00
dmaloney-r7
355c311fc8
Merge pull request #2277 from Meatballs1/service_exes
...
Looks good. Surprised we didn't have this before.
I also agree with the sentiment about refactor. I think we should get all these changes in and deconflicted, then we can look towards cleanup/refactor. or we'll end up down a rabbit-hole.
2013-08-25 10:24:46 -07:00
David Maloney
5e5f5acf19
plug in 64bit injector
...
64 bit exe generation only had subsitution method
add the x64 injector in there too.
2013-08-25 12:19:57 -05:00
root
bb5f71e580
Merge branch 'exe-template-refactor' of https://github.com/shellster/metasploit-framework into exe-template-refactor
2013-08-25 09:23:22 -07:00
root
7121a94684
Merge remote-tracking branch 'origin/master' into exe-template-refactor
2013-08-25 09:22:17 -07:00
shellster
0a6ac04a0c
Merge pull request #3 from Meatballs1/psh_fix
...
Really fix war
2013-08-25 08:57:25 -07:00
Meatballs
526e504531
More fix
2013-08-25 12:21:37 +01:00
Meatballs
d45d37bc38
Really fix...
2013-08-25 00:18:50 +01:00
Meatballs
83da0b3a57
Correct fname
2013-08-25 00:17:26 +01:00
Meatballs
19e47d5e82
Really fix war
2013-08-25 00:06:31 +01:00
David Maloney
4c57af051a
Revert "'remove unused framework references"
...
This reverts commit 98a09b9f5c
.
2013-08-24 17:52:57 -05:00
David Maloney
98a09b9f5c
'remove unused framework references
...
passing around framework references that are never used
removing these whever possible
2013-08-24 16:59:29 -05:00
David Maloney
bd5f184e2b
Dry up the exe subsitution stuff
...
6 different methods were doing essentially
the same exact thing. DRY it up a bit
2013-08-24 16:50:45 -05:00
shellster
50dfac94c0
Merge pull request #2 from Meatballs1/psh_fix
...
Add guards against empty payloads
2013-08-24 14:31:25 -07:00
David Maloney
d38117a521
replace old inject method
...
replacing jsut the win32 inject method this time
with out new injector method.
2013-08-24 16:30:47 -05:00
David Maloney
8f47aa6dcb
Basic Injector class
...
create a class for injecting payloads
into an exe template as a new section
2013-08-24 16:11:00 -05:00
Joe Vennix
bf89c956c4
Just the one file, please
2013-08-24 14:53:51 -05:00
Joe Vennix
757886bece
Remove some extra wip files.
2013-08-24 14:52:52 -05:00
Joe Vennix
29320f5b7f
Fix vn refs. Add juan as an @author.
2013-08-24 13:07:35 -05:00
jvennix-r7
90d2dab69b
Merge pull request #5 from jvazquez-r7/work_osx
...
Add references
2013-08-24 10:14:46 -07:00
jvazquez-r7
5b812b0c22
Add references
2013-08-24 12:12:21 -05:00
jvennix-r7
546397e66f
Merge pull request #4 from jvazquez-r7/work_osx
...
Beautify module
2013-08-24 10:12:20 -07:00
jvazquez-r7
b4ad8c8867
Beautify module
2013-08-24 12:08:38 -05:00
Joe Vennix
0e116730a1
Polishing module. Tested on 10.8, 10.8.2, and 10.8.4.
2013-08-24 12:01:38 -05:00
jvennix-r7
d44a33c04e
Merge pull request #3 from jvazquez-r7/work_osx
...
Merge in juan's improvements to module
2013-08-24 09:44:09 -07:00
jvazquez-r7
b13d357000
Add ranking
2013-08-24 11:35:35 -05:00
jiuweigui
2ebfdcc84b
Fix to description
2013-08-24 19:32:01 +03:00
jvazquez-r7
3ce23ffb49
Make a test before running the payload
2013-08-24 11:20:47 -05:00
jiuweigui
73f4259156
Fix based on suggestions
2013-08-24 19:14:48 +03:00
jvazquez-r7
ab293d2ad9
Make msftidy happy
2013-08-24 10:51:19 -05:00
jvazquez-r7
82cf812311
Switch to PrependMigrate
2013-08-24 10:46:04 -05:00
jvazquez-r7
480794a9ab
Make small fixes
2013-08-24 10:40:08 -05:00
jvazquez-r7
832fa8838b
Change the command to launch after background the payload job
2013-08-24 09:57:33 -05:00
jvazquez-r7
4532474309
Allow cleanup from the new session
2013-08-24 09:47:40 -05:00
Meatballs
b4b59aa065
Add guards against empty payloads
2013-08-24 11:59:59 +01:00
Meatballs
9786f84a6e
Service exes
2013-08-24 03:45:07 +01:00
Meatballs
9ea17ef1e1
Merge upstream
2013-08-24 03:34:02 +01:00
Meatballs
3fae6c51c8
Initial exe-service
2013-08-24 03:28:47 +01:00
Joe Vennix
3cdc6abec6
Clean up some code, get CMD working.
2013-08-23 20:19:21 -05:00
Joe Vennix
140d8ae42f
Need to set timezone first.
2013-08-23 20:09:18 -05:00
shellster
099b824308
Merge pull request #1 from Meatballs1/pr/2270
...
Refactor and fixes
Added all of Meatball's awesome fixes.
2013-08-23 18:02:30 -07:00
Joe Vennix
a4c2ba04f3
Pass cmd through /bin/sh to set default /Users/joe/.rvm/gems/ruby-1.9.3-p392@pro-dev/bin /Users/joe/.rvm/gems/ruby-1.9.3-p392@global/bin /Users/joe/.rvm/rubies/ruby-1.9.3-p392/bin /Users/joe/.rvm/bin /usr/local/sbin /usr/local/bin /usr/bin /bin /usr/sbin /sbin /usr/X11/bin /opt/bin /opt/X11/bin. CMD and native payloads now working.
2013-08-23 19:39:21 -05:00
jvennix-r7
155f336b6f
Merge pull request #2 from jvazquez-r7/test_osx
...
merge in @jvazquez-r7's fixes for osx sudo module
2013-08-23 17:06:26 -07:00
Meatballs
ffc575dcc2
Whitespace in spec
2013-08-24 00:47:16 +01:00
Meatballs
9e2d9da017
Make spec exercise non-exes
2013-08-24 00:33:06 +01:00
jvazquez-r7
fc91380ebc
Add work code
2013-08-23 17:54:21 -05:00
Meatballs
f50ede1993
Remove redundant methods
2013-08-23 23:28:13 +01:00