Commit Graph

53 Commits (1b4dc17e7f136269dce907ce3f317bae62f6163e)

Author SHA1 Message Date
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
Jonathan Cran 0d2cc7472b teensy bit more work on the spec for msfconsole. this commit merges in a meterpreter functional test.
git-svn-id: file:///home/svn/framework3/trunk@12370 4d416f70-5f16-0410-b530-b9f4589650da
2011-04-19 16:40:50 +00:00
Jonathan Cran d45b2aaa20 bugfix & cleanup of the vm loading and a speedup / bugfix for the regex lib
git-svn-id: file:///home/svn/framework3/trunk@12032 4d416f70-5f16-0410-b530-b9f4589650da
2011-03-20 02:33:39 +00:00
Jonathan Cran e1b48c3f81 call ruby directly
git-svn-id: file:///home/svn/framework3/trunk@11913 4d416f70-5f16-0410-b530-b9f4589650da
2011-03-09 03:39:28 +00:00
Jonathan Cran 827534e1b6 fixup the matchers
git-svn-id: file:///home/svn/framework3/trunk@11911 4d416f70-5f16-0410-b530-b9f4589650da
2011-03-09 03:20:58 +00:00
Jonathan Cran 1de316c386 updated meterpreter functional tests
git-svn-id: file:///home/svn/framework3/trunk@11909 4d416f70-5f16-0410-b530-b9f4589650da
2011-03-09 03:04:12 +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
Jonathan Cran 5bb3a16e7a updated matchers
git-svn-id: file:///home/svn/framework3/trunk@11741 4d416f70-5f16-0410-b530-b9f4589650da
2011-02-11 00:48:34 +00:00
Jonathan Cran 2b0854dc1b updated to use msf matchers
git-svn-id: file:///home/svn/framework3/trunk@11740 4d416f70-5f16-0410-b530-b9f4589650da
2011-02-11 00:48:06 +00:00
Jonathan Cran 2ff36a624d work around meterpreter input bug for now
git-svn-id: file:///home/svn/framework3/trunk@11736 4d416f70-5f16-0410-b530-b9f4589650da
2011-02-09 21:13:29 +00:00
Jonathan Cran 1cff86a870 background the session
git-svn-id: file:///home/svn/framework3/trunk@11734 4d416f70-5f16-0410-b530-b9f4589650da
2011-02-09 10:26:53 +00:00
Jonathan Cran 160865eee6 minor changes
git-svn-id: file:///home/svn/framework3/trunk@11733 4d416f70-5f16-0410-b530-b9f4589650da
2011-02-09 10:23:13 +00:00
Jonathan Cran 57d56b7e94 updated for new rspec matchers
git-svn-id: file:///home/svn/framework3/trunk@11710 4d416f70-5f16-0410-b530-b9f4589650da
2011-02-04 09:16:20 +00:00
Jonathan Cran f90ec308c6 updated matchers
git-svn-id: file:///home/svn/framework3/trunk@11688 4d416f70-5f16-0410-b530-b9f4589650da
2011-01-31 17:48:03 +00:00
Jonathan Cran 9a96aed4e7 psexec test, rename http 100_continue test
git-svn-id: file:///home/svn/framework3/trunk@11675 4d416f70-5f16-0410-b530-b9f4589650da
2011-01-30 01:39:25 +00:00
Jonathan Cran f3081a226a msfconsole functional testing spec
git-svn-id: file:///home/svn/framework3/trunk@11674 4d416f70-5f16-0410-b530-b9f4589650da
2011-01-30 00:04:55 +00:00
Jonathan Cran bfd2410c6d make it simpler to pull out failure cases when regexing logs. also, add some rspec matchers, and get rid of the (now useless) thin ut layer on top of regexr.
git-svn-id: file:///home/svn/framework3/trunk@11673 4d416f70-5f16-0410-b530-b9f4589650da
2011-01-29 21:40:53 +00:00
Jonathan Cran 7e86b433b1 add debug
git-svn-id: file:///home/svn/framework3/trunk@11521 4d416f70-5f16-0410-b530-b9f4589650da
2011-01-08 08:45:30 +00:00
Jonathan Cran 81ce82c8ee add a php spec
git-svn-id: file:///home/svn/framework3/trunk@11509 4d416f70-5f16-0410-b530-b9f4589650da
2011-01-07 20:17:32 +00:00
Jonathan Cran 252832c1e1 updated meterpreter specs
git-svn-id: file:///home/svn/framework3/trunk@11491 4d416f70-5f16-0410-b530-b9f4589650da
2011-01-06 20:48:56 +00:00
Jonathan Cran 49c601c11b cleanup, added a test to run all commands
git-svn-id: file:///home/svn/framework3/trunk@11489 4d416f70-5f16-0410-b530-b9f4589650da
2011-01-06 19:07:24 +00:00
Jonathan Cran bc680edd81 initial set of specs for meterpreter:
these specs set up a session, run commands, and regex output to see that the correct text is returned from meterpreter. 

usage: spec meterpreter_win32_spec.rb




git-svn-id: file:///home/svn/framework3/trunk@11488 4d416f70-5f16-0410-b530-b9f4589650da
2011-01-06 18:26:14 +00:00
Jonathan Cran 41732344f0 updated test / regex library
git-svn-id: file:///home/svn/framework3/trunk@11475 4d416f70-5f16-0410-b530-b9f4589650da
2011-01-05 04:31:45 +00:00
Jonathan Cran 45efaa2088 small changes, making testing of msfconsole output easier
git-svn-id: file:///home/svn/framework3/trunk@11435 4d416f70-5f16-0410-b530-b9f4589650da
2010-12-28 19:50:44 +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
Jonathan Cran 8fbb01a93f updated regex / test lib
git-svn-id: file:///home/svn/framework3/trunk@11002 4d416f70-5f16-0410-b530-b9f4589650da
2010-11-12 03:13:05 +00:00
Jonathan Cran 54d659493d updated msf test libraries
git-svn-id: file:///home/svn/framework3/trunk@10827 4d416f70-5f16-0410-b530-b9f4589650da
2010-10-26 06:05:24 +00:00
Jonathan Cran 48af4d63c1 updated msftest assert functions and fixed a few bugs in the associated library
git-svn-id: file:///home/svn/framework3/trunk@10634 4d416f70-5f16-0410-b530-b9f4589650da
2010-10-11 01:57:33 +00:00
Jonathan Cran 18ef827e7f Split the unit testing and log regexing capabilities - this should make it easier to regex msf logs for failure / success if you're doing automated testing with the framework.
git-svn-id: file:///home/svn/framework3/trunk@10628 4d416f70-5f16-0410-b530-b9f4589650da
2010-10-10 01:55:50 +00:00
Jonathan Cran 8737c7ddfd updated regex methods. i write buggy code.
git-svn-id: file:///home/svn/framework3/trunk@9885 4d416f70-5f16-0410-b530-b9f4589650da
2010-07-20 06:38:29 +00:00
Jonathan Cran 6c22bf18eb task log regex'ing gets a much-needed makeover
git-svn-id: file:///home/svn/framework3/trunk@9881 4d416f70-5f16-0410-b530-b9f4589650da
2010-07-20 04:40:16 +00:00
Jonathan Cran 25ec150e04 removed debugging lines
git-svn-id: file:///home/svn/framework3/trunk@9859 4d416f70-5f16-0410-b530-b9f4589650da
2010-07-19 17:46:26 +00:00
Jonathan Cran a131d9a892 failure exceptions
git-svn-id: file:///home/svn/framework3/trunk@9858 4d416f70-5f16-0410-b530-b9f4589650da
2010-07-19 17:12:36 +00:00
Jonathan Cran 0ed10f762d msf-specific test library
git-svn-id: file:///home/svn/framework3/trunk@9851 4d416f70-5f16-0410-b530-b9f4589650da
2010-07-16 22:36:42 +00:00
Joshua Drake 0e72894e58 more cleanups
git-svn-id: file:///home/svn/framework3/trunk@9212 4d416f70-5f16-0410-b530-b9f4589650da
2010-05-03 17:13:09 +00:00
HD Moore 3f59ea2f95 Handle a return() from a proc a bit more gracefully, add a test case
git-svn-id: file:///home/svn/framework3/trunk@8008 4d416f70-5f16-0410-b530-b9f4589650da
2009-12-28 19:44:14 +00:00
HD Moore 75cfef006a Adds a rspec test for taskmanager
git-svn-id: file:///home/svn/framework3/trunk@7998 4d416f70-5f16-0410-b530-b9f4589650da
2009-12-28 00:27:18 +00:00
James Lee 862efac37d add a rakefile so 'rvm specs' works
git-svn-id: file:///home/svn/framework3/trunk@7896 4d416f70-5f16-0410-b530-b9f4589650da
2009-12-17 01:07:51 +00:00
James Lee 683edd1462 add test to make sure num_ips == length
git-svn-id: file:///home/svn/framework3/trunk@7780 4d416f70-5f16-0410-b530-b9f4589650da
2009-12-09 21:31:29 +00:00
James Lee a96a23f95c add cidr parsing for ipv6
git-svn-id: file:///home/svn/framework3/trunk@7707 4d416f70-5f16-0410-b530-b9f4589650da
2009-12-04 20:17:28 +00:00
James Lee 1e6b6b3d62 fix ipv6 handling for single addresses
git-svn-id: file:///home/svn/framework3/trunk@7706 4d416f70-5f16-0410-b530-b9f4589650da
2009-12-04 19:55:58 +00:00
James Lee 5952e29040 modify address range specification (for e.g. RHOSTS) to use nmap notation, fixes #182
git-svn-id: file:///home/svn/framework3/trunk@7705 4d416f70-5f16-0410-b530-b9f4589650da
2009-12-04 19:37:14 +00:00
James Lee 14a0040b8a move nmap xml parsing into Rex::Parser; add a test to make sure it works
git-svn-id: file:///home/svn/framework3/trunk@7566 4d416f70-5f16-0410-b530-b9f4589650da
2009-11-18 06:15:45 +00:00
James Lee 8a691a20ff fix warnings printed by ruby 1.8
git-svn-id: file:///home/svn/framework3/trunk@7485 4d416f70-5f16-0410-b530-b9f4589650da
2009-11-12 20:43:21 +00:00
James Lee fa3a86ec7a test all targets, not just the default. this found the bug fixed in r7483
git-svn-id: file:///home/svn/framework3/trunk@7484 4d416f70-5f16-0410-b530-b9f4589650da
2009-11-12 20:37:30 +00:00