HD Moore
|
9ce47c01bd
|
Reverting the autoload changes until we can upgrade to a new ActiveSupport library or find a workaround
git-svn-id: file:///home/svn/framework3/trunk@12600 4d416f70-5f16-0410-b530-b9f4589650da
|
2011-05-12 20:03:55 +00:00 |
HD Moore
|
95d802754b
|
Rework to avoid a warning
git-svn-id: file:///home/svn/framework3/trunk@12598 4d416f70-5f16-0410-b530-b9f4589650da
|
2011-05-12 19:26:11 +00:00 |
Joshua Drake
|
fd4e6db85d
|
Fixes 4373, Migrates lib/msf to use autoload instead of require (first try)
git-svn-id: file:///home/svn/framework3/trunk@12596 4d416f70-5f16-0410-b530-b9f4589650da
|
2011-05-12 19:07:35 +00:00 |
HD Moore
|
664bbf7c3c
|
Remove the requires now that autoload has been fixed
git-svn-id: file:///home/svn/framework3/trunk@12593 4d416f70-5f16-0410-b530-b9f4589650da
|
2011-05-12 15:09:27 +00:00 |
HD Moore
|
78a2558142
|
Apply patch from chao-mu, fixes #4414
git-svn-id: file:///home/svn/framework3/trunk@12591 4d416f70-5f16-0410-b530-b9f4589650da
|
2011-05-12 14:59:44 +00:00 |
HD Moore
|
c9566da399
|
Add missing requires and autoload to make browser exploits work again.
git-svn-id: file:///home/svn/framework3/trunk@12590 4d416f70-5f16-0410-b530-b9f4589650da
|
2011-05-12 05:23:32 +00:00 |
James Lee
|
06779bc8c0
|
remove unnecessary requires for stuff in rex. autoload and a high-level require 'rex' in lib/msf/core.rb should take care of everything. see #4371, #4373, r12587, and r12554.
git-svn-id: file:///home/svn/framework3/trunk@12588 4d416f70-5f16-0410-b530-b9f4589650da
|
2011-05-12 00:53:33 +00:00 |
Tod Beardsley
|
3e6d526eca
|
Fixes #4391. Sorry! Ruby incompatability on method defs where if you set one option, you need to set them all (doesn't affect current 1.9 Rubies).
git-svn-id: file:///home/svn/framework3/trunk@12580 4d416f70-5f16-0410-b530-b9f4589650da
|
2011-05-10 21:27:17 +00:00 |
Tod Beardsley
|
50b26cb2d6
|
Adds another Qualys formatted XML importer for ASSET_DATA_REPORT files.
git-svn-id: file:///home/svn/framework3/trunk@12575 4d416f70-5f16-0410-b530-b9f4589650da
|
2011-05-10 19:10:02 +00:00 |
Joshua Drake
|
cdeb44747f
|
huh? missing something important heh
git-svn-id: file:///home/svn/framework3/trunk@12574 4d416f70-5f16-0410-b530-b9f4589650da
|
2011-05-10 18:33:38 +00:00 |
amaloteaux
|
cb72073cd8
|
pcaprub: add a respond_to? in the capture mixin to ensure latest version
git-svn-id: file:///home/svn/framework3/trunk@12565 4d416f70-5f16-0410-b530-b9f4589650da
|
2011-05-08 04:43:24 +00:00 |
amaloteaux
|
5d8db916d7
|
pcap_replay: small fix on th delay
git-svn-id: file:///home/svn/framework3/trunk@12563 4d416f70-5f16-0410-b530-b9f4589650da
|
2011-05-08 01:44:09 +00:00 |
Matt Weeks
|
490471e129
|
Include necessary require.
git-svn-id: file:///home/svn/framework3/trunk@12558 4d416f70-5f16-0410-b530-b9f4589650da
|
2011-05-07 02:16:09 +00:00 |
James Lee
|
47ef020c61
|
back to development. 3.8 here we come
git-svn-id: file:///home/svn/framework3/trunk@12541 4d416f70-5f16-0410-b530-b9f4589650da
|
2011-05-04 23:12:43 +00:00 |
HD Moore
|
decf71c4af
|
Exceptions trying to determine DB status should simply return false
git-svn-id: file:///home/svn/framework3/trunk@12536 4d416f70-5f16-0410-b530-b9f4589650da
|
2011-05-04 02:44:14 +00:00 |
James Lee
|
9c712f1481
|
cosmetic
git-svn-id: file:///home/svn/framework3/trunk@12534 4d416f70-5f16-0410-b530-b9f4589650da
|
2011-05-03 18:25:55 +00:00 |
HD Moore
|
4c84181c44
|
This adds a migrated flag to the framework.db object, to prevent a race condition between session_manager startup and db availability while the schema loads. This also makes the session_manager code try again (up to a max count) when it encounters an exception
git-svn-id: file:///home/svn/framework3/trunk@12529 4d416f70-5f16-0410-b530-b9f4589650da
|
2011-05-03 07:09:34 +00:00 |
James Lee
|
73ba020547
|
release!
git-svn-id: file:///home/svn/framework3/trunk@12521 4d416f70-5f16-0410-b530-b9f4589650da
|
2011-05-03 04:40:41 +00:00 |
James Lee
|
2192532a0c
|
don't read from the rsock as that's already taken care of by monitor_rsock in StreamAbstraction. fixes EVERYTHING. also fixes #4321
git-svn-id: file:///home/svn/framework3/trunk@12520 4d416f70-5f16-0410-b530-b9f4589650da
|
2011-05-03 04:12:41 +00:00 |
HD Moore
|
1c86441f12
|
This removes the abortive_close code for stream sockets, it was leading to inconsistencies in how dead sessions were cleaned up
git-svn-id: file:///home/svn/framework3/trunk@12519 4d416f70-5f16-0410-b530-b9f4589650da
|
2011-05-03 03:59:02 +00:00 |
HD Moore
|
fdc19b5e4a
|
Add the second required argument to write()
git-svn-id: file:///home/svn/framework3/trunk@12518 4d416f70-5f16-0410-b530-b9f4589650da
|
2011-05-03 03:09:20 +00:00 |
HD Moore
|
23c355ba2c
|
Just use :mac not :host_mac
git-svn-id: file:///home/svn/framework3/trunk@12517 4d416f70-5f16-0410-b530-b9f4589650da
|
2011-05-03 03:03:38 +00:00 |
HD Moore
|
b93e134195
|
Use shell_write vs ring.put
git-svn-id: file:///home/svn/framework3/trunk@12516 4d416f70-5f16-0410-b530-b9f4589650da
|
2011-05-02 23:07:02 +00:00 |
HD Moore
|
d98f8dfd89
|
Make it clear that all Rex::IO::Stream implementations must accept a second parameter called opts for the read, write, and put methods
git-svn-id: file:///home/svn/framework3/trunk@12515 4d416f70-5f16-0410-b530-b9f4589650da
|
2011-05-02 21:39:09 +00:00 |
James Lee
|
8fd84e3c3d
|
fix cmd/unix/reverse by adding proper read() and write() methods to TcpReverseDoubleSessionChannel
git-svn-id: file:///home/svn/framework3/trunk@12514 4d416f70-5f16-0410-b530-b9f4589650da
|
2011-05-02 20:42:53 +00:00 |
James Lee
|
e81d3440b8
|
don't try to store session events for sessions without a db_record. fixes #4301
git-svn-id: file:///home/svn/framework3/trunk@12505 4d416f70-5f16-0410-b530-b9f4589650da
|
2011-05-02 06:45:21 +00:00 |
HD Moore
|
732a1f3993
|
Skip empty vulnerability names
git-svn-id: file:///home/svn/framework3/trunk@12503 4d416f70-5f16-0410-b530-b9f4589650da
|
2011-05-02 05:20:07 +00:00 |
Joshua Drake
|
e9372d0e51
|
add another require
git-svn-id: file:///home/svn/framework3/trunk@12501 4d416f70-5f16-0410-b530-b9f4589650da
|
2011-05-02 03:40:34 +00:00 |
Joshua Drake
|
ed86305675
|
add a require
git-svn-id: file:///home/svn/framework3/trunk@12500 4d416f70-5f16-0410-b530-b9f4589650da
|
2011-05-02 03:40:03 +00:00 |
Joshua Drake
|
91658ac45e
|
remove crufty require
git-svn-id: file:///home/svn/framework3/trunk@12497 4d416f70-5f16-0410-b530-b9f4589650da
|
2011-05-02 01:35:21 +00:00 |
James Lee
|
178ae10e22
|
make sure telnet sessions use crlf for write() as well as put()
git-svn-id: file:///home/svn/framework3/trunk@12494 4d416f70-5f16-0410-b530-b9f4589650da
|
2011-05-01 23:56:57 +00:00 |
HD Moore
|
2c3e85af05
|
Major cleanups to the session manager, serialized processing of incoming connections, concurrent processing (up to a max scheduler thread count) of meterpreter initialization/scripts. This is to avoid a potential deadlock in openssl and ensure consistent, reliable session staging. This commit also fixes a bug that would mark database sessions as closed too early.
git-svn-id: file:///home/svn/framework3/trunk@12485 4d416f70-5f16-0410-b530-b9f4589650da
|
2011-04-30 18:51:50 +00:00 |
HD Moore
|
22537ffbde
|
A few more tweaks to non-blocking ssl mode
git-svn-id: file:///home/svn/framework3/trunk@12482 4d416f70-5f16-0410-b530-b9f4589650da
|
2011-04-30 10:24:52 +00:00 |
HD Moore
|
6bdf2a4e2b
|
Proactively wrap each() in other Hash based classes to avoid situations that trigger modification during enumeration
git-svn-id: file:///home/svn/framework3/trunk@12479 4d416f70-5f16-0410-b530-b9f4589650da
|
2011-04-30 04:59:27 +00:00 |
HD Moore
|
23d0c7d7d0
|
This overrides the framework.sessions.each method to use a temporary list instead of the native hash method. This avoids a rare race condition where a thread is enumerating sessions while another thread tries to register one.
git-svn-id: file:///home/svn/framework3/trunk@12478 4d416f70-5f16-0410-b530-b9f4589650da
|
2011-04-30 04:50:06 +00:00 |
Tod Beardsley
|
dfb8a9e24b
|
Catching more nils in db_import.
git-svn-id: file:///home/svn/framework3/trunk@12477 4d416f70-5f16-0410-b530-b9f4589650da
|
2011-04-30 04:33:52 +00:00 |
HD Moore
|
321e5bd292
|
Qualify the exception namespace
git-svn-id: file:///home/svn/framework3/trunk@12475 4d416f70-5f16-0410-b530-b9f4589650da
|
2011-04-30 03:33:45 +00:00 |
Tod Beardsley
|
94be33e8ee
|
A little cleaner method for determining the nature of imported zip files.
git-svn-id: file:///home/svn/framework3/trunk@12472 4d416f70-5f16-0410-b530-b9f4589650da
|
2011-04-30 01:49:55 +00:00 |
HD Moore
|
d942442bcd
|
Officially remove sqlite3 support (its been deprecated for approximately a year). SQLite3 has not been usable for a long time due to thread concurrency and stability issues. This is the final nail in the coffin now that the DB backend has gone through an overhaul.
git-svn-id: file:///home/svn/framework3/trunk@12469 4d416f70-5f16-0410-b530-b9f4589650da
|
2011-04-29 17:22:53 +00:00 |
HD Moore
|
882c4b52f8
|
Monkey patch xmlrpc to handle 64-bit integers (meterpreter file sizes) and deal with nil more gracefully.
git-svn-id: file:///home/svn/framework3/trunk@12466 4d416f70-5f16-0410-b530-b9f4589650da
|
2011-04-29 06:10:41 +00:00 |
Tod Beardsley
|
4053764f21
|
In the event an import file isn't an msf_zip, pcapfile, and doesn't have a newline, bail.
git-svn-id: file:///home/svn/framework3/trunk@12465 4d416f70-5f16-0410-b530-b9f4589650da
|
2011-04-29 04:16:42 +00:00 |
Tod Beardsley
|
07e02ce44a
|
When reporting a session from an import, :routes should always end up an an array.
git-svn-id: file:///home/svn/framework3/trunk@12464 4d416f70-5f16-0410-b530-b9f4589650da
|
2011-04-29 04:10:46 +00:00 |
Tod Beardsley
|
1693a21b06
|
Fixes nessus_v2 imports to indicate a service name correctly.
git-svn-id: file:///home/svn/framework3/trunk@12463 4d416f70-5f16-0410-b530-b9f4589650da
|
2011-04-28 18:52:35 +00:00 |
James Lee
|
0a638aebfc
|
make modules' class.inspect useful. this has bugged me for *years*
git-svn-id: file:///home/svn/framework3/trunk@12462 4d416f70-5f16-0410-b530-b9f4589650da
|
2011-04-28 16:50:57 +00:00 |
James Lee
|
859fd9216f
|
report module_run and script_run session events
git-svn-id: file:///home/svn/framework3/trunk@12448 4d416f70-5f16-0410-b530-b9f4589650da
|
2011-04-26 21:57:01 +00:00 |
James Lee
|
f72c94b514
|
default last_seen to sane values so we don't orphan all sessions right away. =/
git-svn-id: file:///home/svn/framework3/trunk@12446 4d416f70-5f16-0410-b530-b9f4589650da
|
2011-04-26 21:29:47 +00:00 |
James Lee
|
956dcfa6d2
|
deal with the odd 'No Service Pack' by normalizing to 'Service Pack 0', fixes odd 2003 detection
git-svn-id: file:///home/svn/framework3/trunk@12444 4d416f70-5f16-0410-b530-b9f4589650da
|
2011-04-26 19:31:56 +00:00 |
James Lee
|
81391d6ebf
|
fix a stupid bug where retina, nessus, and qualys os fingerpritns would not be saved; improve fingerprints for 2003, 2008
git-svn-id: file:///home/svn/framework3/trunk@12443 4d416f70-5f16-0410-b530-b9f4589650da
|
2011-04-26 19:13:35 +00:00 |
Tod Beardsley
|
2031c0d288
|
Importing Nexpose reports should retain test keys (which are usually some kind of proof or expanded details about a vulnerability).
git-svn-id: file:///home/svn/framework3/trunk@12442 4d416f70-5f16-0410-b530-b9f4589650da
|
2011-04-26 17:31:26 +00:00 |
James Lee
|
8cf4733535
|
change the close_reason to be more accurate now that the close isn't happening at startup
git-svn-id: file:///home/svn/framework3/trunk@12441 4d416f70-5f16-0410-b530-b9f4589650da
|
2011-04-26 16:19:59 +00:00 |