Dean Welch
1f91d2eee9
Add smb session support to delete_file module
2023-12-12 11:59:07 +00:00
Jeffrey Martin
4498e5d2e1
add guards for thread variable access
2021-11-16 07:53:51 -06:00
Jeffrey Martin
b84b3b73ef
use a more descriptive variable name
2021-11-16 07:51:23 -06:00
Jeffrey Martin
8e34a330f1
rename local instance variable for thread list
2021-11-15 15:07:12 -06:00
Alan Foster
4899884a33
Add http support in rhosts option
2021-09-02 12:59:50 +01:00
Spencer McIntyre
48e120d4e9
Fix a bug from a missed reference and update the rex-socket gem
2021-03-29 13:56:25 -04:00
Spencer McIntyre
35106f7b99
Wire in the new RangeWalker improvements
2021-03-29 13:56:25 -04:00
Spencer McIntyre
855aa3c521
Override fail_with in auxiliary/scanner to add an abort kwarg
2020-08-26 09:10:01 -04:00
Spencer McIntyre
d1baf9677e
Use nmod.vprint_error to handle peer correctly
2020-08-25 17:43:07 -04:00
Spencer McIntyre
a4a0a3ab23
Allow scanner modules to skip hosts on fail_with
2020-08-25 17:38:40 -04:00
HynekPetrak
59cfb3cc3a
fix stall in scanner for modules with non equal duration
2020-08-09 23:05:50 +00:00
Adam Galway
1a2bf98222
creates standard elog & updates exisiting usages
2020-06-22 12:48:39 +01:00
Alan Foster
f780d94ec6
Remove dead code for aux scanner modules check
2020-02-20 16:54:25 +00:00
Adam Galway
debded62e3
add has_check? to Module & Scanner classes
2019-12-11 13:26:32 +00:00
Brent Cook
d3a636eb6a
Land #12509 , add check result to RPC API
2019-12-02 11:37:43 -06:00
Adam Cammack
5565ef9450
Return check codes from scanner runs
2019-11-19 00:35:17 -06:00
William Vu
dedbd616c8
Fix wording
2019-11-07 09:57:39 -06:00
Clément Notin
38c09b8aa3
Scanner modules: explain limitation of THREADS option
...
Closes #12521
2019-10-31 19:26:45 +01:00
Brent Cook
770b9fa209
add RHOSTS common option to nmap and scanner mixins
2018-05-24 21:31:36 -05:00
Brent Cook
588993f20e
remove no-op
2018-03-14 14:16:47 -05:00
Brent Cook
a9f340a7a7
remove run_range, nothing in MSF uses it (we don't care about Pro here)
2018-03-12 17:07:48 -05:00
bwatters-r7
0d51ba8021
Remove unneeded setup/cleanup functions to prevent
...
foot-shooting scanner modules
2018-03-12 15:46:04 -05:00
Brendan
b0bb5b5806
Added initialization of RHOST value prior to calling child check() functions
2016-09-20 18:18:52 -05:00
wchen-r7
498657ab35
Fix #3860 , tearing down TCP connection for send_request_cgi
...
Fix #3860
2016-08-15 15:45:52 -05:00
wchen-r7
cce1ae6026
Fix #6989 , scanner modules printing RHOST in progress messages
...
Fix #6989
2016-07-25 23:15:59 -05:00
Brian Patterson
be363411de
Land #6317 , Add delay(with jitter) option to auxiliary scanner and portscan modules
2016-05-02 13:09:40 -05:00
James Lee
ad026b3a7a
Add #peer to Tcp
2016-01-28 13:58:24 -06:00
Stuart Morgan
0cb18004ec
Rubocop
2015-12-05 15:28:56 +00:00
Stuart Morgan
61ad1a60f5
Removed EOL spaces (msftidy)
2015-12-05 15:27:13 +00:00
Stuart Morgan
d645052391
Moved the 'add_delay_jitter' function to scanner.rb so that all modules can benefit from it if needed
2015-12-05 15:02:31 +00:00
Jon Hart
e658640014
Show uniq error count
2014-11-12 07:38:07 -08:00
Jon Hart
b05198c05a
Clean up failure messaging when bad CHOST
2014-11-12 07:32:06 -08:00
HD Moore
6b4eb9a8e2
Differentiate failed binds from connects, closes #4169
...
This change adds two new Rex exceptions and changes the local comm to raise the right one depending on the circumstances. The problem with the existing model is
that failed binds and failed connections both raised the same exception. This change is backwards compatible with modules that rescue Rex::AddressInUse in additi
on to Rex::ConnectionError. There were two corner cases that rescued Rex::AddressInUse specifically:
1. The 'r'-services mixin and modules caught the old exception when handling bind errors. These have been updated to use BindFailed
2. The meterpreter client had a catch for the old exception when the socket reports a bad destination (usually a network connection dropped). This has been updat
ed to use InvalidDestination as that was the intention prior to this change.
Since AddressInUse was part of ConnectionError, modules and mixins which caught both in the same rescue have been updated to just catch ConnectionError.
2014-11-11 14:59:41 -06:00
HD Moore
dbd5937dc7
Limit threads to 1 when CPORT is set, closes #4170
...
This issue also applies to TCP scanner modules.
2014-11-11 13:21:09 -06:00
Jon Hart
1f6658639f
More sane % printing for aux scanner
2014-10-31 10:25:01 -07:00
Jon Hart
f66c43475b
More sane % printing for aux scanner
2014-10-31 09:39:21 -07:00
sinn3r
45bb336c51
Loop do it
2014-01-26 16:27:36 -06:00
sinn3r
eec01e79ff
No explicit "return"
2014-01-26 16:25:30 -06:00
sinn3r
2d12c0a368
NoMethod check and stuff
2014-01-25 20:25:01 -06:00
sinn3r
93fa58ed45
aux scanner support
2014-01-24 17:54:40 -06:00
Tab Assassin
7e5e0f7fc8
Retab lib
2013-08-30 16:28:33 -05:00
HD Moore
d656e3185f
Mark all libraries as defaulting to 8-bit strings
2012-06-29 00:18:28 -05:00
David Maloney
67c7971bdf
Addresses a race condition with checking a scanner's status before it's run method has executed.
2012-03-08 13:07:03 -06:00
David Maloney
9d343ea1c1
Fix to dividie by zero issue in scannenr progress method
2012-03-08 11:03:33 -06:00
James Lee
79c2264263
more spaces at EOL and bad tabs
2011-11-20 12:05:14 +11:00
HD Moore
c504d295b2
Rescue EOFErrors by default as well (handle corner cases across a swath of modules)
...
git-svn-id: file:///home/svn/framework3/trunk@14200 4d416f70-5f16-0410-b530-b9f4589650da
2011-11-09 06:10:10 +00:00
HD Moore
292aae8ab5
This small patch causes any input to RangeWalker that contains a host name to expand to all A records returned for that name. This allows RHOSTS to be set to a dns name that returns multiple addresses and for all addresses corresponding to the name to be tested.
...
git-svn-id: file:///home/svn/framework3/trunk@13837 4d416f70-5f16-0410-b530-b9f4589650da
2011-10-09 01:07:51 +00:00
HD Moore
07fb337ad9
Fix the actual thread cap
...
git-svn-id: file:///home/svn/framework3/trunk@12378 4d416f70-5f16-0410-b530-b9f4589650da
2011-04-20 17:56:38 +00:00
et
baab86fc52
WMAP 1.0 and first pass on some modules
...
git-svn-id: file:///home/svn/framework3/trunk@11709 4d416f70-5f16-0410-b530-b9f4589650da
2011-02-04 05:57:26 +00:00
Tod Beardsley
fb79d97bca
Allow for things external to a scanner module to come in an kill all the threads with the mod.seppuko!() method.
...
git-svn-id: file:///home/svn/framework3/trunk@11117 4d416f70-5f16-0410-b530-b9f4589650da
2010-11-24 00:08:39 +00:00