James Lee
3a25658511
Add a test for doing md5 and sha1 of remote files
2012-05-06 23:40:52 -06:00
James Lee
cf664eb68f
Fix the test for having an iface w/an ip matching session_host
...
ifaces can have multiple addresses, loop through all of 'em.
2012-05-06 23:33:40 -06:00
James Lee
64f8665df0
Remove loads
2012-03-28 14:33:24 -06:00
James Lee
0e472deede
Add a simple test for unix shells
2012-03-28 14:33:24 -06:00
James Lee
f797bb5d1b
Convert railgun tests to ModuleTest API
2012-03-28 14:33:24 -06:00
James Lee
3abb45672d
Convert registry tests to ModuleTest API
2012-03-28 14:33:24 -06:00
James Lee
926c11139e
Don't write out debugging junk
2012-03-23 15:33:28 -06:00
James Lee
5da33c4bf1
Add some verbosity for explaining why a read failed
2012-03-23 15:31:36 -06:00
James Lee
8265fc4b82
Clarify that we're looking at sniffer ifaces
2012-03-19 15:04:40 -06:00
James Lee
d25756976c
Add a binary-safe method for writing files on unix shell sessions
...
Also some tests for doing so, all of which pass on Linux, Windows, and
Java meterpreter, as well as shell sessions on Linux and Solaris. They
will fail miserably on Windows shell sessions.
2012-03-19 01:10:23 -06:00
James Lee
49217a28ec
Add pending tests for binary and large files
2012-03-17 11:05:16 -06:00
James Lee
4b73f75a49
Make sure the file was actually written as expected
2012-03-16 17:20:24 -06:00
James Lee
c1eca01849
Cleanup the file created during testing
2012-03-16 17:03:22 -06:00
James Lee
103ecd3acc
Make the test for file existence platform agnostic
2012-03-16 16:39:29 -06:00
James Lee
47ce05cc27
Add a couple methods and some tests for Post::File
2012-03-16 16:27:06 -06:00
James Lee
c44c0ebf48
Refactor ModuleTest and add a few more tests
...
This makes running tests from a post module as easy as creating methods
that start with +test_+ and running +it()+ blocks inside them.
2012-03-02 17:56:40 -07:00
James Lee
a02ab0ab0c
Add a few more tests for meterpreter
2012-03-02 15:31:01 -07:00
James Lee
3c4c500544
Add a few more meterpreter API tests
2012-03-01 19:21:34 -07:00
James Lee
9bac806cdb
Add some simple meterpreter API tests
2012-03-01 16:30:37 -07:00
Tod Beardsley
31dea3844e
Reintroduces chao-mu's OptRegexp
...
Revert "Revert "Merge pull request #101 from chao-mu/master""
[See #101 ]
This reverts commit c5ce575543
.
2012-01-23 14:21:19 -06:00
Tod Beardsley
c5ce575543
Revert "Merge pull request #101 from chao-mu/master"
...
Reverting the OptRegexp commit from chao-mu. Before committing to
master, this option type needs to be tested on the various mainstream
UI's (Metasploit Pro, msfgui, and Armitage) to see if they behave
as reasonably as msfconsole. Each UI tends to handle option setting,
passing, and display in their own special way.
This should make it back in by Wednesday, assuming all goes well.
[See #101 ]
This reverts commit 84db5a21fc
, reversing
changes made to 24aaf85a1b
.
2012-01-17 15:33:47 -06:00
chao-mu
a8a3d4d2c7
Updatted railgun_reverse_lookups test module to use the new regex options. Corrected spelling mistake in a variable name (my editor ate a p)
2012-01-12 19:39:05 -05:00
James Lee
4cd329a943
Spawn the payload as a seperate process
...
Running the payload using system() in a thread was causing some weird
interactions with ctrl-c. Fix those issues by using Process.spawn and
Process.detach. I suspect this was the original cause of #3631 , java
meterpreter sessions dying unaccountably.
See #3631
2011-12-31 12:11:34 -07:00
Joshua Smith
9ab5becb63
a better test post mod (test/modules/post/test/railgun_reverse_lookups.rb), should have been in previous commit
2011-12-18 00:36:29 -05:00
Joshua Smith
8bdf76a87b
Adds const_reverse_lookup and error_lookup methods to the railgun instance, also adds test/modules/post/test/railgun_reverse_lookups.rb, tested, working great
2011-12-17 16:19:32 -05:00
James Lee
58880d3457
add a module for testing services, update some tests for registry, cleanup some comments for rdoc compat, and add a ParseError exception class. see #3745
...
git-svn-id: file:///home/svn/framework3/trunk@13739 4d416f70-5f16-0410-b530-b9f4589650da
2011-09-16 20:32:22 +00:00
Tod Beardsley
c54e18d757
Fixes #5038 . Removes all instances of Racket objects, as far as I can tell. If I missed any through my mighty grep -ril racket . statement, please reopen!
...
git-svn-id: file:///home/svn/framework3/trunk@13342 4d416f70-5f16-0410-b530-b9f4589650da
2011-07-26 01:29:21 +00:00
Carlos Perez
68e3691411
Change Post Mixin for Windows platform in its own separate class and minor fixes on modules and scripts
...
git-svn-id: file:///home/svn/framework3/trunk@12990 4d416f70-5f16-0410-b530-b9f4589650da
2011-06-21 00:38:04 +00:00
James Lee
7a45ce0616
get rid of some warnings on 1.8
...
git-svn-id: file:///home/svn/framework3/trunk@12489 4d416f70-5f16-0410-b530-b9f4589650da
2011-05-01 20:23:25 +00:00
James Lee
15c6e90e2e
fix some whitespace and be more angry when something is broken
...
git-svn-id: file:///home/svn/framework3/trunk@11789 4d416f70-5f16-0410-b530-b9f4589650da
2011-02-22 02:02:04 +00:00
James Lee
50614260f1
remove superfluous stuff from the test module, fix an ArgumentError in the mixin. see r11783 and r11784
...
git-svn-id: file:///home/svn/framework3/trunk@11785 4d416f70-5f16-0410-b530-b9f4589650da
2011-02-21 19:22:19 +00:00
James Lee
72ffa260c2
add a test module for registry usage
...
git-svn-id: file:///home/svn/framework3/trunk@11783 4d416f70-5f16-0410-b530-b9f4589650da
2011-02-21 19:06:20 +00:00
James Lee
3d52c5c4c0
add target info for generic so reloading gets correct compatible payloads
...
git-svn-id: file:///home/svn/framework3/trunk@11354 4d416f70-5f16-0410-b530-b9f4589650da
2010-12-16 20:18:06 +00:00
Joshua Drake
f687a3460c
move all test modules (aux/exploits) into test/modules directory, use loadpath to load them
...
git-svn-id: file:///home/svn/framework3/trunk@11218 4d416f70-5f16-0410-b530-b9f4589650da
2010-12-04 01:59:24 +00:00