Joshua Drake
4be4c763c8
show cmd if -c is used, add quotes on cmdline
...
git-svn-id: file:///home/svn/framework3/trunk@11083 4d416f70-5f16-0410-b530-b9f4589650da
2010-11-21 16:21:24 +00:00
Joshua Drake
66d0012200
error on platform mismatch separately
...
git-svn-id: file:///home/svn/framework3/trunk@11082 4d416f70-5f16-0410-b530-b9f4589650da
2010-11-21 10:14:31 +00:00
Joshua Drake
0c4ea7908b
pre-set winver
...
git-svn-id: file:///home/svn/framework3/trunk@11081 4d416f70-5f16-0410-b530-b9f4589650da
2010-11-21 09:39:25 +00:00
Joshua Drake
03978e72b2
oops, raise not return
...
git-svn-id: file:///home/svn/framework3/trunk@11080 4d416f70-5f16-0410-b530-b9f4589650da
2010-11-21 09:36:37 +00:00
Joshua Drake
cb3b06f7ad
add exploit for windows task scheduler 2.0
...
git-svn-id: file:///home/svn/framework3/trunk@11079 4d416f70-5f16-0410-b530-b9f4589650da
2010-11-21 02:52:52 +00:00
Carlos Perez
f5715cd310
Removed shebang and added keywords
...
git-svn-id: file:///home/svn/framework3/trunk@11060 4d416f70-5f16-0410-b530-b9f4589650da
2010-11-18 02:02:08 +00:00
James Lee
2895dc409a
make sure the session is a windows host
...
git-svn-id: file:///home/svn/framework3/trunk@11058 4d416f70-5f16-0410-b530-b9f4589650da
2010-11-17 20:22:18 +00:00
Joshua Drake
77bc5cf6cd
Big VNC update:
...
* Created Rex::Proto::RFB
* Updated vnc_none_auth scanner to use Rex::Proto::RFB::Client
* Added vnc_login (refactored from carstein)
* Created an initial vnc_passwords.txt file
* Removed cipher/des.rb - incompatible license
* Updated getvncpw script to use new Rex::Proto::RFB::Cipher.decrypt
git-svn-id: file:///home/svn/framework3/trunk@11033 4d416f70-5f16-0410-b530-b9f4589650da
2010-11-14 03:37:45 +00:00
Joshua Drake
3992eb7ef8
Mass RE-update: fix all framework URL references
...
git-svn-id: file:///home/svn/framework3/trunk@10998 4d416f70-5f16-0410-b530-b9f4589650da
2010-11-11 22:43:22 +00:00
Matt Weeks
594a46bfc7
Merge webcam extension into stdapi.
...
git-svn-id: file:///home/svn/framework3/trunk@10997 4d416f70-5f16-0410-b530-b9f4589650da
2010-11-11 22:36:54 +00:00
Joshua Drake
9fc6f2f3a3
Mass update: fix all framework URL references
...
git-svn-id: file:///home/svn/framework3/trunk@10996 4d416f70-5f16-0410-b530-b9f4589650da
2010-11-11 22:25:13 +00:00
Matt Weeks
db602dd478
Add functional in-memory webcam support.
...
git-svn-id: file:///home/svn/framework3/trunk@10954 4d416f70-5f16-0410-b530-b9f4589650da
2010-11-09 02:24:28 +00:00
Carlos Perez
6c88228791
Commited test script I had by accident
...
git-svn-id: file:///home/svn/framework3/trunk@10943 4d416f70-5f16-0410-b530-b9f4589650da
2010-11-08 01:53:59 +00:00
Carlos Perez
7f22b5296c
Changes to client variable name in functions to make sure they work when called by AutoRunScript
...
git-svn-id: file:///home/svn/framework3/trunk@10942 4d416f70-5f16-0410-b530-b9f4589650da
2010-11-08 01:21:42 +00:00
Carlos Perez
1042a75282
Changes to client variable name in functions to make sure they work when called by AutoRunScript
...
git-svn-id: file:///home/svn/framework3/trunk@10941 4d416f70-5f16-0410-b530-b9f4589650da
2010-11-08 01:18:55 +00:00
Carlos Perez
13a93d41f6
Make sure that an IP is provided
...
git-svn-id: file:///home/svn/framework3/trunk@10901 4d416f70-5f16-0410-b530-b9f4589650da
2010-11-04 18:42:36 +00:00
Carlos Perez
70c95265f1
Fixed formating and changed option for listing, will not list all events by defaults
...
git-svn-id: file:///home/svn/framework3/trunk@10880 4d416f70-5f16-0410-b530-b9f4589650da
2010-11-03 04:40:44 +00:00
Carlos Perez
aa02905564
Speeded up application list enumeration in winenum
...
git-svn-id: file:///home/svn/framework3/trunk@10879 4d416f70-5f16-0410-b530-b9f4589650da
2010-11-03 04:39:43 +00:00
Carlos Perez
5d78620a27
Full re-write of packetrecorder script
...
git-svn-id: file:///home/svn/framework3/trunk@10860 4d416f70-5f16-0410-b530-b9f4589650da
2010-11-02 02:05:12 +00:00
Joshua Drake
e9fd935aa7
fix typo
...
git-svn-id: file:///home/svn/framework3/trunk@10856 4d416f70-5f16-0410-b530-b9f4589650da
2010-11-01 22:07:30 +00:00
Matt Weeks
ca21c6df15
Add service option to persistence to keep escalated privileges through a reboot.
...
git-svn-id: file:///home/svn/framework3/trunk@10847 4d416f70-5f16-0410-b530-b9f4589650da
2010-10-30 19:27:43 +00:00
cg
3b6d0177fd
delete meter_inject.rb by request of carlos in the chan
...
git-svn-id: file:///home/svn/framework3/trunk@10838 4d416f70-5f16-0410-b530-b9f4589650da
2010-10-28 01:06:37 +00:00
Carlos Perez
5fc38f15bb
Keywords and removed un-used variable
...
git-svn-id: file:///home/svn/framework3/trunk@10837 4d416f70-5f16-0410-b530-b9f4589650da
2010-10-28 00:42:16 +00:00
Carlos Perez
c20326b829
Renamed meter_inject to multi_meter_inject, for single inbjections to memory use duplicate script, for multiple injection to diferent hosts use this one.
...
git-svn-id: file:///home/svn/framework3/trunk@10836 4d416f70-5f16-0410-b530-b9f4589650da
2010-10-28 00:36:39 +00:00
Carlos Perez
fc3df2303a
Improvements thanks to jcran and some changes when used with sessions -s and AutoRunScript
...
git-svn-id: file:///home/svn/framework3/trunk@10826 4d416f70-5f16-0410-b530-b9f4589650da
2010-10-26 02:30:08 +00:00
Carlos Perez
4054a21ec9
forgot to take debug puts
...
git-svn-id: file:///home/svn/framework3/trunk@10825 4d416f70-5f16-0410-b530-b9f4589650da
2010-10-26 02:01:04 +00:00
Carlos Perez
60dcbcaa45
can now specify different versions of Reverse Meterpreter, multiple IPs and PIDs for multiple connections back, handler creation is now optional. Thanks to scriptjunkie for his duplicate script, this script is based on his work.
...
git-svn-id: file:///home/svn/framework3/trunk@10824 4d416f70-5f16-0410-b530-b9f4589650da
2010-10-26 01:30:58 +00:00
Matt Weeks
da3f263f2f
Fix bug in duplicate script. Specifying target by PID should work now.
...
git-svn-id: file:///home/svn/framework3/trunk@10823 4d416f70-5f16-0410-b530-b9f4589650da
2010-10-26 00:32:50 +00:00
Carlos Perez
fcacbed530
Script for injecting in memory to another process given a PID or Process Name a Windows Meterpreter Reverse TCP payload
...
git-svn-id: file:///home/svn/framework3/trunk@10817 4d416f70-5f16-0410-b530-b9f4589650da
2010-10-25 02:28:52 +00:00
Carlos Perez
c4f9b60724
Script for EventLog Parsing, Enumeration and Clearing
...
git-svn-id: file:///home/svn/framework3/trunk@10816 4d416f70-5f16-0410-b530-b9f4589650da
2010-10-25 02:26:59 +00:00
Carlos Perez
ed53ac4cc8
Forgot meter_type var
...
git-svn-id: file:///home/svn/framework3/trunk@10815 4d416f70-5f16-0410-b530-b9f4589650da
2010-10-25 02:21:31 +00:00
Carlos Perez
376088624c
Script did not check for proper Meterpreter Platform
...
git-svn-id: file:///home/svn/framework3/trunk@10814 4d416f70-5f16-0410-b530-b9f4589650da
2010-10-25 02:05:45 +00:00
Carlos Perez
f77cdd1513
Script did not check for proper Meterpreter Platform
...
git-svn-id: file:///home/svn/framework3/trunk@10813 4d416f70-5f16-0410-b530-b9f4589650da
2010-10-25 02:05:28 +00:00
Matt Weeks
31934868db
Fix problem with incorrectly identifying vulnerable services.
...
git-svn-id: file:///home/svn/framework3/trunk@10796 4d416f70-5f16-0410-b530-b9f4589650da
2010-10-23 20:14:28 +00:00
Carlos Perez
ab2220f13d
removed status printing and unused variables
...
git-svn-id: file:///home/svn/framework3/trunk@10793 4d416f70-5f16-0410-b530-b9f4589650da
2010-10-23 14:40:49 +00:00
Joshua Drake
975cf8a741
move external files to a metasploit server
...
git-svn-id: file:///home/svn/framework3/trunk@10748 4d416f70-5f16-0410-b530-b9f4589650da
2010-10-19 14:58:59 +00:00
Joshua Drake
f997b37245
remove the kitrap0d meterpreter script in favor of the "getsystem" implementation, fixes #800 , fixes #801
...
git-svn-id: file:///home/svn/framework3/trunk@10739 4d416f70-5f16-0410-b530-b9f4589650da
2010-10-18 23:57:41 +00:00
Joshua Drake
b364fc19a4
fix indent
...
git-svn-id: file:///home/svn/framework3/trunk@10738 4d416f70-5f16-0410-b530-b9f4589650da
2010-10-18 23:23:45 +00:00
Joshua Drake
52260f47b1
add meterpreter scripts for deploying ssh client/server from illegal guy, closes #1728
...
git-svn-id: file:///home/svn/framework3/trunk@10737 4d416f70-5f16-0410-b530-b9f4589650da
2010-10-18 23:20:24 +00:00
Joshua Drake
9ca53619f2
clean up meterpreter client object references, fixes #2987
...
git-svn-id: file:///home/svn/framework3/trunk@10732 4d416f70-5f16-0410-b530-b9f4589650da
2010-10-18 20:26:18 +00:00
Carlos Perez
a71ddb7b15
small typo
...
git-svn-id: file:///home/svn/framework3/trunk@10730 4d416f70-5f16-0410-b530-b9f4589650da
2010-10-18 16:16:38 +00:00
HD Moore
f88033f0cc
Merge in R3L1K's Powershell enhancements and powerdump code (hashdump through powershell)
...
git-svn-id: file:///home/svn/framework3/trunk@10721 4d416f70-5f16-0410-b530-b9f4589650da
2010-10-17 17:39:43 +00:00
HD Moore
893bc949f1
Fixes #2865 by merging in the submitted patch
...
git-svn-id: file:///home/svn/framework3/trunk@10715 4d416f70-5f16-0410-b530-b9f4589650da
2010-10-16 22:07:29 +00:00
Matt Weeks
70774ba7cf
Add script to escalate privs from most weak service permissions.
...
git-svn-id: file:///home/svn/framework3/trunk@10693 4d416f70-5f16-0410-b530-b9f4589650da
2010-10-15 05:28:37 +00:00
Carlos Perez
4cb008be9c
minor spelling error
...
git-svn-id: file:///home/svn/framework3/trunk@10664 4d416f70-5f16-0410-b530-b9f4589650da
2010-10-13 01:06:15 +00:00
Carlos Perez
6a76865ca8
Google Chrome enumeration script with some minor modifications.
...
git-svn-id: file:///home/svn/framework3/trunk@10663 4d416f70-5f16-0410-b530-b9f4589650da
2010-10-13 01:04:28 +00:00
Joshua Drake
19d5b4cd60
ignore comments/empty lines in rc
...
git-svn-id: file:///home/svn/framework3/trunk@10604 4d416f70-5f16-0410-b530-b9f4589650da
2010-10-08 18:35:43 +00:00
Joshua Drake
9c54152d81
fail on errors
...
git-svn-id: file:///home/svn/framework3/trunk@10602 4d416f70-5f16-0410-b530-b9f4589650da
2010-10-08 17:27:02 +00:00
Matt Weeks
f04c1eddd2
Allow target specification by pid instead of name.
...
git-svn-id: file:///home/svn/framework3/trunk@10525 4d416f70-5f16-0410-b530-b9f4589650da
2010-10-02 21:39:14 +00:00
Carlos Perez
e91ec4dff4
smalll fix and added keywords
...
git-svn-id: file:///home/svn/framework3/trunk@10521 4d416f70-5f16-0410-b530-b9f4589650da
2010-10-01 21:32:30 +00:00
Matt Weeks
e01ec1670e
Add script to spawn a new meterpreter session from another. Good for running keylogger in winlogon and explorer, insurance against crashes/AV, etc.
...
git-svn-id: file:///home/svn/framework3/trunk@10520 4d416f70-5f16-0410-b530-b9f4589650da
2010-10-01 20:34:10 +00:00
Carlos Perez
01f8d6b4f6
Speeded up enumeration by making the key reads threaded
...
git-svn-id: file:///home/svn/framework3/trunk@10481 4d416f70-5f16-0410-b530-b9f4589650da
2010-09-26 01:19:22 +00:00
Carlos Perez
d5cc7dc81a
Updated to use Mixin is_uac_enabled? check and the new is_admin? check
...
git-svn-id: file:///home/svn/framework3/trunk@10453 4d416f70-5f16-0410-b530-b9f4589650da
2010-09-24 00:08:53 +00:00
Joshua Drake
291027ee1f
swap each_line for each
...
git-svn-id: file:///home/svn/framework3/trunk@10437 4d416f70-5f16-0410-b530-b9f4589650da
2010-09-22 22:23:23 +00:00
Carlos Perez
16ae3c84e9
fixes to the script for when multiple accounts are logged on on target and Meterpreter is running as system.
...
git-svn-id: file:///home/svn/framework3/trunk@10358 4d416f70-5f16-0410-b530-b9f4589650da
2010-09-17 21:19:04 +00:00
Carlos Perez
a5c92b7a52
small fix
...
git-svn-id: file:///home/svn/framework3/trunk@10353 4d416f70-5f16-0410-b530-b9f4589650da
2010-09-17 20:53:34 +00:00
Carlos Perez
2207e7737a
script for enumerating shares being offered, mounted share history and UNC paths entered in the Run Dialog on Windows target Hosts.
...
git-svn-id: file:///home/svn/framework3/trunk@10352 4d416f70-5f16-0410-b530-b9f4589650da
2010-09-17 20:36:22 +00:00
Carlos Perez
8fc701dcbf
Updated RegEx
...
git-svn-id: file:///home/svn/framework3/trunk@10351 4d416f70-5f16-0410-b530-b9f4589650da
2010-09-17 20:36:02 +00:00
Carlos Perez
0a34941a79
Process name is no longer case sensitive.
...
git-svn-id: file:///home/svn/framework3/trunk@10346 4d416f70-5f16-0410-b530-b9f4589650da
2010-09-17 11:46:16 +00:00
Carlos Perez
3c8f86b8c0
Added option to query process size in Kilobytes with -q option
...
git-svn-id: file:///home/svn/framework3/trunk@10345 4d416f70-5f16-0410-b530-b9f4589650da
2010-09-17 02:37:43 +00:00
Carlos Perez
529f95e200
writes memory as it gets it to the dump file so as to improve memory usage
...
git-svn-id: file:///home/svn/framework3/trunk@10344 4d416f70-5f16-0410-b530-b9f4589650da
2010-09-17 00:26:34 +00:00
Carlos Perez
1cb4d17df7
small fix
...
git-svn-id: file:///home/svn/framework3/trunk@10340 4d416f70-5f16-0410-b530-b9f4589650da
2010-09-16 19:51:35 +00:00
Carlos Perez
930973cacb
Added ability to take a list of processes to look for and dump their memory with the -r option
...
git-svn-id: file:///home/svn/framework3/trunk@10338 4d416f70-5f16-0410-b530-b9f4589650da
2010-09-16 19:43:35 +00:00
Carlos Perez
bb842ea0b0
I need a speel checker
...
git-svn-id: file:///home/svn/framework3/trunk@10336 4d416f70-5f16-0410-b530-b9f4589650da
2010-09-16 18:01:01 +00:00
Carlos Perez
ebabb6af8f
Typo and added error message
...
git-svn-id: file:///home/svn/framework3/trunk@10335 4d416f70-5f16-0410-b530-b9f4589650da
2010-09-16 17:47:13 +00:00
Carlos Perez
47c46b7c01
Script for dumping a process memory give its pid or all instances of the process given its name. Based on Attack Research Presentation at Black Hat
...
git-svn-id: file:///home/svn/framework3/trunk@10334 4d416f70-5f16-0410-b530-b9f4589650da
2010-09-16 17:38:54 +00:00
Stephen Fewer
66052df646
Tiny update to these two scripts that use railgun - we don't need to perform a 'client.core.use("railgun")' any more as railgun is directly in stdapi.
...
git-svn-id: file:///home/svn/framework3/trunk@10321 4d416f70-5f16-0410-b530-b9f4589650da
2010-09-14 23:33:38 +00:00
Carlos Perez
7d665e8a8d
All scripts that are not platform dependednt will check for version, windows specific will only run on win32, win64 and some on PHP
...
git-svn-id: file:///home/svn/framework3/trunk@10277 4d416f70-5f16-0410-b530-b9f4589650da
2010-09-09 16:09:27 +00:00
Carlos Perez
7019dd8bdb
Print the right path for the saved data, false report on UAC and fixed program list extraction
...
git-svn-id: file:///home/svn/framework3/trunk@10268 4d416f70-5f16-0410-b530-b9f4589650da
2010-09-09 00:36:44 +00:00
Carlos Perez
ae5a3d388f
Print the right path for the saved data
...
git-svn-id: file:///home/svn/framework3/trunk@10267 4d416f70-5f16-0410-b530-b9f4589650da
2010-09-09 00:25:54 +00:00
Carlos Perez
4226b4910f
Print the right path for the saved data and set the proper variable for options in help message
...
git-svn-id: file:///home/svn/framework3/trunk@10266 4d416f70-5f16-0410-b530-b9f4589650da
2010-09-09 00:24:31 +00:00
Carlos Perez
161dd40463
Meterpreter version check, only supported at the moment on Windows targets withe win32 and win64 version of Meterpreter
...
git-svn-id: file:///home/svn/framework3/trunk@10250 4d416f70-5f16-0410-b530-b9f4589650da
2010-09-06 20:12:34 +00:00
Carlos Perez
d3ee74f3f9
Meterpreter version check, only supported at the moment on Windows targets withe win32 and win64 version of Meterpreter
...
git-svn-id: file:///home/svn/framework3/trunk@10249 4d416f70-5f16-0410-b530-b9f4589650da
2010-09-06 20:10:24 +00:00
Carlos Perez
734dd76e22
Added check for proper Meterpreter version, since it depends on railgun
...
git-svn-id: file:///home/svn/framework3/trunk@10248 4d416f70-5f16-0410-b530-b9f4589650da
2010-09-06 20:08:28 +00:00
Carlos Perez
3b3f787ff8
Proper exit call for when a unsupported version of Meterpreter is used
...
git-svn-id: file:///home/svn/framework3/trunk@10247 4d416f70-5f16-0410-b530-b9f4589650da
2010-09-06 20:07:37 +00:00
Carlos Perez
bb7ca297a9
now works with Linux and PHP Meterpreter
...
git-svn-id: file:///home/svn/framework3/trunk@10229 4d416f70-5f16-0410-b530-b9f4589650da
2010-09-03 01:40:22 +00:00
Carlos Perez
1c45eba566
Error in variable declaration, minor output improvement
...
git-svn-id: file:///home/svn/framework3/trunk@10188 4d416f70-5f16-0410-b530-b9f4589650da
2010-08-30 18:09:03 +00:00
Carlos Perez
4abb8d6b2d
Meterpreter script for finding and saving name and path to file for easy selection and downloading those files.
...
git-svn-id: file:///home/svn/framework3/trunk@10186 4d416f70-5f16-0410-b530-b9f4589650da
2010-08-30 01:55:53 +00:00
Tod Beardsley
2e84d222d3
Fixes #2434 by using the new report_auth_info API.
...
git-svn-id: file:///home/svn/framework3/trunk@10103 4d416f70-5f16-0410-b530-b9f4589650da
2010-08-23 15:27:22 +00:00
Joshua Drake
fce9a6404c
correct regex again, see #2427
...
git-svn-id: file:///home/svn/framework3/trunk@10080 4d416f70-5f16-0410-b530-b9f4589650da
2010-08-20 17:55:44 +00:00
Carlos Perez
b7ec92ae1f
Ticket #2427 Fixed regex in main part of the code and changed the UAC check to the one in the Meterpreter Mixin
...
git-svn-id: file:///home/svn/framework3/trunk@10079 4d416f70-5f16-0410-b530-b9f4589650da
2010-08-20 13:07:41 +00:00
Joshua Drake
321f0ce8c3
fix regex and remove extra call to sysinfo, see #2354
...
git-svn-id: file:///home/svn/framework3/trunk@10046 4d416f70-5f16-0410-b530-b9f4589650da
2010-08-18 23:05:55 +00:00
Tod Beardsley
0955e804df
See #2412 . Fixes the meterpreter script credcollect.rb and the plugin db_credcollect to use the new Creds table.
...
git-svn-id: file:///home/svn/framework3/trunk@10041 4d416f70-5f16-0410-b530-b9f4589650da
2010-08-18 19:18:27 +00:00
Carlos Perez
b403c787d6
will show help if wrong option given
...
git-svn-id: file:///home/svn/framework3/trunk@9995 4d416f70-5f16-0410-b530-b9f4589650da
2010-08-13 11:45:54 +00:00
Carlos Perez
2789e9007e
Fix for #2394
...
git-svn-id: file:///home/svn/framework3/trunk@9994 4d416f70-5f16-0410-b530-b9f4589650da
2010-08-13 11:38:08 +00:00
Carlos Perez
6372b5f78d
Thanks to Robin Wood for pointing out problems with the script, quick fix, will be porting the service manipulation to meterpreter mixin soon
...
git-svn-id: file:///home/svn/framework3/trunk@9988 4d416f70-5f16-0410-b530-b9f4589650da
2010-08-13 00:34:15 +00:00
Carlos Perez
746721f862
Apply patch provided by Michael Messner to localize for German systems.
...
git-svn-id: file:///home/svn/framework3/trunk@9972 4d416f70-5f16-0410-b530-b9f4589650da
2010-08-08 00:03:31 +00:00
Carlos Perez
a2df95fda4
make sure it saves logs to proper folder
...
git-svn-id: file:///home/svn/framework3/trunk@9961 4d416f70-5f16-0410-b530-b9f4589650da
2010-08-06 15:45:33 +00:00
Joshua Drake
d8643568c8
fixes #2342
...
git-svn-id: file:///home/svn/framework3/trunk@9960 4d416f70-5f16-0410-b530-b9f4589650da
2010-08-06 01:09:05 +00:00
Joshua Drake
8e4e0600db
add missing quote, fixes #2331
...
git-svn-id: file:///home/svn/framework3/trunk@9954 4d416f70-5f16-0410-b530-b9f4589650da
2010-08-04 02:05:35 +00:00
Carlos Perez
802014c306
fixed problem with option parsing
...
git-svn-id: file:///home/svn/framework3/trunk@9946 4d416f70-5f16-0410-b530-b9f4589650da
2010-08-03 01:13:58 +00:00
Joshua Drake
ff56230ef0
add LINEMAX option
...
git-svn-id: file:///home/svn/framework3/trunk@9844 4d416f70-5f16-0410-b530-b9f4589650da
2010-07-16 18:39:30 +00:00
Carlos Perez
f34454fc43
Added download of sigons.sqlite database
...
git-svn-id: file:///home/svn/framework3/trunk@9803 4d416f70-5f16-0410-b530-b9f4589650da
2010-07-13 15:25:30 +00:00
James Lee
b60e2d1022
convert lport to a string so we don't get failures when adding String + FixNum
...
git-svn-id: file:///home/svn/framework3/trunk@9801 4d416f70-5f16-0410-b530-b9f4589650da
2010-07-13 09:01:36 +00:00
Tod Beardsley
501ac3d6e1
Adds a -D option to autoroute (kill all routes). Also includes minor cleanup on autoroute.
...
git-svn-id: file:///home/svn/framework3/trunk@9795 4d416f70-5f16-0410-b530-b9f4589650da
2010-07-12 20:04:09 +00:00
Carlos Perez
fdc22dabf6
Added error handling to m_exec function since some commands are not present on all versions of Windows
...
git-svn-id: file:///home/svn/framework3/trunk@9792 4d416f70-5f16-0410-b530-b9f4589650da
2010-07-12 13:02:44 +00:00
James Lee
a73a995e0f
Scripts mustn't return.
...
git-svn-id: file:///home/svn/framework3/trunk@9780 4d416f70-5f16-0410-b530-b9f4589650da
2010-07-11 17:34:03 +00:00
Carlos Perez
4efb7f4c1f
Fixed false positive in OS detection do to bad regx
...
git-svn-id: file:///home/svn/framework3/trunk@9776 4d416f70-5f16-0410-b530-b9f4589650da
2010-07-11 01:42:48 +00:00
Carlos Perez
5787ef30c0
Give more detail of what is happening when running with SYSTEM privs
...
git-svn-id: file:///home/svn/framework3/trunk@9775 4d416f70-5f16-0410-b530-b9f4589650da
2010-07-11 01:32:13 +00:00
Carlos Perez
1add80fe24
fixed problems when running with SYSTEM privs
...
git-svn-id: file:///home/svn/framework3/trunk@9774 4d416f70-5f16-0410-b530-b9f4589650da
2010-07-11 01:22:53 +00:00
Carlos Perez
3edac7bb7c
fixed problems when running as SYSTEM and under Windows 2003 Systems
...
git-svn-id: file:///home/svn/framework3/trunk@9773 4d416f70-5f16-0410-b530-b9f4589650da
2010-07-11 01:22:29 +00:00
Carlos Perez
fd296af041
forgot to update option parsing
...
git-svn-id: file:///home/svn/framework3/trunk@9772 4d416f70-5f16-0410-b530-b9f4589650da
2010-07-10 20:48:16 +00:00
Carlos Perez
e2d3a84c50
re-named to enum_logged_on_users so as to fit more what it does
...
git-svn-id: file:///home/svn/framework3/trunk@9771 4d416f70-5f16-0410-b530-b9f4589650da
2010-07-10 20:19:49 +00:00
Carlos Perez
ddb599d7d0
Script for enumerating and downloading Firefox Databases on a Host
...
git-svn-id: file:///home/svn/framework3/trunk@9770 4d416f70-5f16-0410-b530-b9f4589650da
2010-07-10 20:00:32 +00:00
Carlos Perez
200828e90a
Script for enumerating VMWare products on a target host, including their settings and versions
...
git-svn-id: file:///home/svn/framework3/trunk@9769 4d416f70-5f16-0410-b530-b9f4589650da
2010-07-10 17:03:11 +00:00
Carlos Perez
85ff4e22b9
refactor several calls to use now Meterpreter mixin
...
git-svn-id: file:///home/svn/framework3/trunk@9768 4d416f70-5f16-0410-b530-b9f4589650da
2010-07-10 16:55:50 +00:00
Carlos Perez
4ff03fadb8
changed -c to -cl option do to conflict with sessions command
...
git-svn-id: file:///home/svn/framework3/trunk@9767 4d416f70-5f16-0410-b530-b9f4589650da
2010-07-10 16:36:51 +00:00
Carlos Perez
5c4c4f92d0
Script for enumerating current logged on users and SID's for logged on accounts
...
git-svn-id: file:///home/svn/framework3/trunk@9765 4d416f70-5f16-0410-b530-b9f4589650da
2010-07-10 15:19:11 +00:00
Carlos Perez
08aac797f5
resolved function name conflict with mixin
...
git-svn-id: file:///home/svn/framework3/trunk@9762 4d416f70-5f16-0410-b530-b9f4589650da
2010-07-10 13:44:26 +00:00
Carlos Perez
16541abdde
sent array instead of string to mixin call
...
git-svn-id: file:///home/svn/framework3/trunk@9740 4d416f70-5f16-0410-b530-b9f4589650da
2010-07-08 20:31:26 +00:00
Carlos Perez
29c78e5c5c
forgot to check for no arguments
...
git-svn-id: file:///home/svn/framework3/trunk@9738 4d416f70-5f16-0410-b530-b9f4589650da
2010-07-08 20:09:39 +00:00
Carlos Perez
c9e50d70a7
added check for UAC and account lockout using railgun for when capturing winlogon creds - Thanks for the API Call Mubix
...
git-svn-id: file:///home/svn/framework3/trunk@9734 4d416f70-5f16-0410-b530-b9f4589650da
2010-07-08 17:27:01 +00:00
Carlos Perez
4d649045aa
ARP Scanner Meterpreter Script using the railgun Extension, based on example provided in railgun manual.
...
git-svn-id: file:///home/svn/framework3/trunk@9733 4d416f70-5f16-0410-b530-b9f4589650da
2010-07-08 14:24:24 +00:00
Carlos Perez
690a655275
Removed comma causing error in options
...
git-svn-id: file:///home/svn/framework3/trunk@9732 4d416f70-5f16-0410-b530-b9f4589650da
2010-07-08 14:02:58 +00:00
Joshua Drake
5f2aa8bb0b
consolidate aborted error messages
...
git-svn-id: file:///home/svn/framework3/trunk@9723 4d416f70-5f16-0410-b530-b9f4589650da
2010-07-07 18:18:38 +00:00
Joshua Drake
1e0e92e5aa
show commands that fail
...
git-svn-id: file:///home/svn/framework3/trunk@9721 4d416f70-5f16-0410-b530-b9f4589650da
2010-07-07 18:04:22 +00:00
Mario Ceballos
348a03b4f9
add meterpreter script for panda av 2007
...
git-svn-id: file:///home/svn/framework3/trunk@9672 4d416f70-5f16-0410-b530-b9f4589650da
2010-07-03 16:52:20 +00:00
Tod Beardsley
2250a83913
Updates meterpreter autoroute to accept CIDR notation.
...
git-svn-id: file:///home/svn/framework3/trunk@9667 4d416f70-5f16-0410-b530-b9f4589650da
2010-07-03 01:27:24 +00:00
Tod Beardsley
fb273e83a9
Updates autoroute to enforce sensible netmasks. This is serious business.
...
git-svn-id: file:///home/svn/framework3/trunk@9664 4d416f70-5f16-0410-b530-b9f4589650da
2010-07-02 18:42:56 +00:00
Tod Beardsley
01139ed655
Adding an autoroute meterpreter script, and enabling route housekeeping to be stored and retrived via Sessions directly, rather than through Rex::Socket::SwitchBoard.
...
git-svn-id: file:///home/svn/framework3/trunk@9663 4d416f70-5f16-0410-b530-b9f4589650da
2010-07-02 17:38:56 +00:00
Carlos Perez
9abea21a96
Meterpreter script to enumerare Powershell snap-ins and settings
...
git-svn-id: file:///home/svn/framework3/trunk@9658 4d416f70-5f16-0410-b530-b9f4589650da
2010-07-02 00:10:45 +00:00
Carlos Perez
23651de9dd
Script for enumerating recent and saved connections for Putty
...
git-svn-id: file:///home/svn/framework3/trunk@9640 4d416f70-5f16-0410-b530-b9f4589650da
2010-07-01 00:43:16 +00:00
Carlos Perez
3ceed6bbb7
Script for extracting Filezilla saved credentials and connection settings
...
git-svn-id: file:///home/svn/framework3/trunk@9639 4d416f70-5f16-0410-b530-b9f4589650da
2010-07-01 00:14:59 +00:00
Carlos Perez
2949ef2458
Fixed Bug #2163
...
git-svn-id: file:///home/svn/framework3/trunk@9635 4d416f70-5f16-0410-b530-b9f4589650da
2010-06-30 00:20:04 +00:00
Joshua Drake
55487fbedc
rescue even more!
...
git-svn-id: file:///home/svn/framework3/trunk@9591 4d416f70-5f16-0410-b530-b9f4589650da
2010-06-23 03:09:55 +00:00
Joshua Drake
2fdf0a1123
rescue more, handle return from shell_command_token_win32 better, remove cmd delay since its not needed here, dont sleep before cleanup when aborting
...
git-svn-id: file:///home/svn/framework3/trunk@9590 4d416f70-5f16-0410-b530-b9f4589650da
2010-06-23 02:27:58 +00:00
Carlos Perez
ee1e9685aa
Cosmetic changes, renamed mixin function and now all scripts that generate logs they are saved to .msf3/logs/scripts
...
git-svn-id: file:///home/svn/framework3/trunk@9589 4d416f70-5f16-0410-b530-b9f4589650da
2010-06-23 00:52:25 +00:00
Carlos Perez
ec0e8aba30
Cosmetic changes, renamed mixin function and now all scripts that generate logs they are saved to .msf3/logs/scripts
...
git-svn-id: file:///home/svn/framework3/trunk@9588 4d416f70-5f16-0410-b530-b9f4589650da
2010-06-23 00:50:14 +00:00
Carlos Perez
8b27ca890c
Script for extracting list of installed applications and their version
...
git-svn-id: file:///home/svn/framework3/trunk@9562 4d416f70-5f16-0410-b530-b9f4589650da
2010-06-19 02:46:22 +00:00
Joshua Drake
f3359c3485
adjust a couple $Id: outliers
...
git-svn-id: file:///home/svn/framework3/trunk@9535 4d416f70-5f16-0410-b530-b9f4589650da
2010-06-16 17:03:30 +00:00
Carlos Perez
d5c981f16e
Now uses the new Meterpreter mixin and added option for persistence in HKCU for systems with UAC or limited privs
...
git-svn-id: file:///home/svn/framework3/trunk@9531 4d416f70-5f16-0410-b530-b9f4589650da
2010-06-15 22:13:04 +00:00
Carlos Perez
02373c943c
Now uses the new Meterpreter Mixin and both script generate cleanup scripts, also added support for french systems in getgui thanks to Adrien Guinault
...
git-svn-id: file:///home/svn/framework3/trunk@9530 4d416f70-5f16-0410-b530-b9f4589650da
2010-06-15 22:11:48 +00:00
Carlos Perez
7aa1fd844f
-c option conflicts with sessions own options when ran from the sessions command changed to -cl
...
git-svn-id: file:///home/svn/framework3/trunk@9507 4d416f70-5f16-0410-b530-b9f4589650da
2010-06-13 01:23:52 +00:00
Carlos Perez
c60767eb44
-c option conflicts with sessions own options when ran from the sessions command changed to -cl
...
git-svn-id: file:///home/svn/framework3/trunk@9506 4d416f70-5f16-0410-b530-b9f4589650da
2010-06-13 01:23:23 +00:00
Carlos Perez
f1e91fe0f5
-c option conflicts with sessions own options when ran from the sessions command changed to -cl
...
git-svn-id: file:///home/svn/framework3/trunk@9505 4d416f70-5f16-0410-b530-b9f4589650da
2010-06-13 01:20:58 +00:00
Carlos Perez
d0733635e5
Changed -s option on scripts to -rc due to conflict when ran from sessions command with -s option
...
git-svn-id: file:///home/svn/framework3/trunk@9439 4d416f70-5f16-0410-b530-b9f4589650da
2010-06-06 02:43:25 +00:00
Carlos Perez
f2f5ee66d9
Changed -s option on scripts to -rc due to conflict when ran from sessions command with -s option
...
git-svn-id: file:///home/svn/framework3/trunk@9438 4d416f70-5f16-0410-b530-b9f4589650da
2010-06-06 02:43:07 +00:00
Carlos Perez
5438d970b1
Changed -s option on scripts to -rc due to conflict when ran from sessions command with -s option
...
git-svn-id: file:///home/svn/framework3/trunk@9437 4d416f70-5f16-0410-b530-b9f4589650da
2010-06-06 02:42:52 +00:00
Carlos Perez
88a7d4b6ca
Removed progress printing to standard out
...
git-svn-id: file:///home/svn/framework3/trunk@9436 4d416f70-5f16-0410-b530-b9f4589650da
2010-06-06 02:35:25 +00:00
Joshua Drake
f2197699da
set decoder in spawn_meterpreter script, fixes #2050 -- thx ben
...
git-svn-id: file:///home/svn/framework3/trunk@9435 4d416f70-5f16-0410-b530-b9f4589650da
2010-06-05 19:19:19 +00:00
Joshua Drake
6d1e7bdaa5
big commit - lots of cmdstager changes
...
created 4 cmd stagers (instead of just one): CmdStagerVBS, CmdStagerDebugAsm, CmdStagerDebugWrite, CmdStagerTFTP
created a TFTPServer mixin
created Msf::Exploit::EXE mixin to generate executables
updated all uses of CmdStager to use CmdStagerVBS for the time being
add exploit for cve-2001-0333 using CmdStagerTFTP
updated tftp server to wait for transfers to finish (up to 30 seconds) before shutting down
write debug.exe stager stub in 16-bit assembly (used in CmdStagerDebugAsm)
git-svn-id: file:///home/svn/framework3/trunk@9375 4d416f70-5f16-0410-b530-b9f4589650da
2010-05-26 22:39:56 +00:00
HD Moore
aa97b21e73
Fixes #1896 . Applies a patch from grutz
...
git-svn-id: file:///home/svn/framework3/trunk@9302 4d416f70-5f16-0410-b530-b9f4589650da
2010-05-14 16:00:27 +00:00
Carlos Perez
8c56b4c50d
Comited wrong version of the script
...
git-svn-id: file:///home/svn/framework3/trunk@9250 4d416f70-5f16-0410-b530-b9f4589650da
2010-05-08 04:23:07 +00:00
Carlos Perez
d68fc77577
Sample script for retriving user and system enviroment variables
...
git-svn-id: file:///home/svn/framework3/trunk@9248 4d416f70-5f16-0410-b530-b9f4589650da
2010-05-08 03:47:06 +00:00
Carlos Perez
895877bb57
Removed progress printing
...
git-svn-id: file:///home/svn/framework3/trunk@9235 4d416f70-5f16-0410-b530-b9f4589650da
2010-05-05 23:45:34 +00:00
Joshua Drake
4bc86e603e
fix a couple more silly regex mishaps
...
git-svn-id: file:///home/svn/framework3/trunk@9220 4d416f70-5f16-0410-b530-b9f4589650da
2010-05-04 23:09:32 +00:00
James Lee
1fe426bcf5
look for the dot, too
...
git-svn-id: file:///home/svn/framework3/trunk@9219 4d416f70-5f16-0410-b530-b9f4589650da
2010-05-04 23:06:25 +00:00
James Lee
2e926a1c22
make the extension check more generic
...
git-svn-id: file:///home/svn/framework3/trunk@9218 4d416f70-5f16-0410-b530-b9f4589650da
2010-05-04 23:01:05 +00:00
Joshua Drake
81f9b0285f
fix silly regex error when scanning extension
...
git-svn-id: file:///home/svn/framework3/trunk@9217 4d416f70-5f16-0410-b530-b9f4589650da
2010-05-04 22:41:57 +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