Commit Graph

1175 Commits (080300605a47efa1d9bca85db6f9ba8a147caa12)

Author SHA1 Message Date
fab 81cc070abb add an output to logs buffer when a job stopped
add few comments


git-svn-id: file:///home/svn/framework3/trunk@4490 4d416f70-5f16-0410-b530-b9f4589650da
2007-02-27 22:41:03 +00:00
fab 359a5afd93 add a kill job feature from job treeview Gtk::Menu
git-svn-id: file:///home/svn/framework3/trunk@4489 4d416f70-5f16-0410-b530-b9f4589650da
2007-02-27 22:32:05 +00:00
HD Moore 88cc653478 The HTTP api now catches SIGPIPEs and just returns a nil response
git-svn-id: file:///home/svn/framework3/trunk@4483 4d416f70-5f16-0410-b530-b9f4589650da
2007-02-27 09:31:23 +00:00
HD Moore 7087457f9e A few more updates to the HTTP exploit mixin, still needs some work before it is completed
git-svn-id: file:///home/svn/framework3/trunk@4481 4d416f70-5f16-0410-b530-b9f4589650da
2007-02-27 09:15:53 +00:00
fab 797badb271 add remove job after framework_event_manager opened a session only if exploit.passive? return fase
rename MyTargetTree by MyJobTree and all the attr_accessor reference



git-svn-id: file:///home/svn/framework3/trunk@4479 4d416f70-5f16-0410-b530-b9f4589650da
2007-02-26 23:19:59 +00:00
HD Moore 6d4c234187 Fix a problem where a dcerpc exploit will only work once before the framework must be reloaded
git-svn-id: file:///home/svn/framework3/trunk@4476 4d416f70-5f16-0410-b530-b9f4589650da
2007-02-26 17:38:01 +00:00
Matt Miller 36462709c6 fix typo
git-svn-id: file:///home/svn/framework3/trunk@4474 4d416f70-5f16-0410-b530-b9f4589650da
2007-02-26 03:11:51 +00:00
Matt Miller b30551b59d moved code around that sets the via exploit/payload to the handler code, fixes #32
git-svn-id: file:///home/svn/framework3/trunk@4473 4d416f70-5f16-0410-b530-b9f4589650da
2007-02-26 03:09:55 +00:00
Matt Miller c8bbefcab0 added some comments, and introduced the DatabaseEvent mixin
git-svn-id: file:///home/svn/framework3/trunk@4472 4d416f70-5f16-0410-b530-b9f4589650da
2007-02-25 21:25:41 +00:00
fab 0a397256fd MsfAssistant: switch options -> advanced
git-svn-id: file:///home/svn/framework3/trunk@4469 4d416f70-5f16-0410-b530-b9f4589650da
2007-02-25 20:51:12 +00:00
fab fe9ff60607 provides resource file mechanism for configuring various aspects of the operation of a GTK+ console at runtime
git-svn-id: file:///home/svn/framework3/trunk@4467 4d416f70-5f16-0410-b530-b9f4589650da
2007-02-25 17:39:31 +00:00
Matt Miller e8d036cac8 fixed typo in simplified modules
git-svn-id: file:///home/svn/framework3/trunk@4465 4d416f70-5f16-0410-b530-b9f4589650da
2007-02-24 21:42:13 +00:00
Matt Miller 117d004e01 fixed unit tests in core
git-svn-id: file:///home/svn/framework3/trunk@4464 4d416f70-5f16-0410-b530-b9f4589650da
2007-02-24 06:35:03 +00:00
Matt Miller 58708378d1 ensure that module counts are reflected accurately, and add option to specify a module path to msfconsole, fixes #25
git-svn-id: file:///home/svn/framework3/trunk@4462 4d416f70-5f16-0410-b530-b9f4589650da
2007-02-24 05:29:05 +00:00
Matt Miller 3a8b138e74 don't modify the module cache when a temporary module path is added, fixes #24. also added support for specifying permanent module paths in the global datastore with the MsfModulePaths variable
git-svn-id: file:///home/svn/framework3/trunk@4461 4d416f70-5f16-0410-b530-b9f4589650da
2007-02-24 03:32:32 +00:00
HD Moore 2db1945637 Fix a bone-headed error when adding http evasion, this fixes #31
git-svn-id: file:///home/svn/framework3/trunk@4459 4d416f70-5f16-0410-b530-b9f4589650da
2007-02-22 07:33:00 +00:00
HD Moore 7007ec3349 Work around an off problem with the require() call not always returning true. If the require fails, an exception should be raised, so this should be a safe workaround.
git-svn-id: file:///home/svn/framework3/trunk@4454 4d416f70-5f16-0410-b530-b9f4589650da
2007-02-21 14:42:21 +00:00
HD Moore fe540a3001 Cleanly handle EOFError's from DCERPC services. This fixes #27
git-svn-id: file:///home/svn/framework3/trunk@4453 4d416f70-5f16-0410-b530-b9f4589650da
2007-02-21 03:58:44 +00:00
Matt Miller b70afbd6cf fixes #23, from alex
git-svn-id: file:///home/svn/framework3/trunk@4450 4d416f70-5f16-0410-b530-b9f4589650da
2007-02-21 03:11:47 +00:00
Matt Miller 4d60b8f146 fixes #19, don't skip if overwrite is false
git-svn-id: file:///home/svn/framework3/trunk@4449 4d416f70-5f16-0410-b530-b9f4589650da
2007-02-21 03:10:48 +00:00
Matt Miller fbd91e48d4 fixes #20, re-import default options when flushing all options
git-svn-id: file:///home/svn/framework3/trunk@4448 4d416f70-5f16-0410-b530-b9f4589650da
2007-02-21 03:07:12 +00:00
Matt Miller 7ca88cd747 fix to call interact with correct args
git-svn-id: file:///home/svn/framework3/trunk@4446 4d416f70-5f16-0410-b530-b9f4589650da
2007-02-20 05:41:51 +00:00
HD Moore 51d61c161d Sessions can be detached and killed from the console
git-svn-id: file:///home/svn/framework3/trunk@4437 4d416f70-5f16-0410-b530-b9f4589650da
2007-02-18 22:35:07 +00:00
Matt Miller 06ac34faf1 fixes #9, added MODULEPATH var, and msfencode/msfpayload support it as well
git-svn-id: file:///home/svn/framework3/trunk@4436 4d416f70-5f16-0410-b530-b9f4589650da
2007-02-18 12:27:17 +00:00
Matt Miller d4a739f85a fixes #1
git-svn-id: file:///home/svn/framework3/trunk@4435 4d416f70-5f16-0410-b530-b9f4589650da
2007-02-18 12:08:11 +00:00
HD Moore 904901d163 Change ARCH and PLATFORM to advanced options
git-svn-id: file:///home/svn/framework3/trunk@4433 4d416f70-5f16-0410-b530-b9f4589650da
2007-02-18 07:38:31 +00:00
HD Moore 24f0608974 Update the smb/dcerpc mixins to use the newly named options
git-svn-id: file:///home/svn/framework3/trunk@4430 4d416f70-5f16-0410-b530-b9f4589650da
2007-02-18 07:06:30 +00:00
HD Moore 1d1f55f9e9 Added CHOST/CPORT as advanced options. Split out uncommon SMB options as advanced
git-svn-id: file:///home/svn/framework3/trunk@4429 4d416f70-5f16-0410-b530-b9f4589650da
2007-02-18 07:02:47 +00:00
HD Moore 075b3c1c82 Further progress towards mobile sessions
git-svn-id: file:///home/svn/framework3/trunk@4425 4d416f70-5f16-0410-b530-b9f4589650da
2007-02-18 05:07:56 +00:00
HD Moore 80c4bcd5ab Session detach support, closer to clean hand-off between session -d / session -i. Make autovnc look for both vncviewer and vncviewer.exe
git-svn-id: file:///home/svn/framework3/trunk@4424 4d416f70-5f16-0410-b530-b9f4589650da
2007-02-18 04:25:46 +00:00
HD Moore a4b06e1653 fixes a file descriptor leak in the SMB and DCERPC exception translation code
git-svn-id: file:///home/svn/framework3/trunk@4423 4d416f70-5f16-0410-b530-b9f4589650da
2007-02-18 03:07:40 +00:00
HD Moore 149987b41e The msfwx user interface is now obsolete, further GUI work will be handled by msfgui/msfgtk2
git-svn-id: file:///home/svn/framework3/trunk@4409 4d416f70-5f16-0410-b530-b9f4589650da
2007-02-17 23:54:09 +00:00
HD Moore f916234e1a Option tab completion is now case insensitive
git-svn-id: file:///home/svn/framework3/trunk@4402 4d416f70-5f16-0410-b530-b9f4589650da
2007-02-17 03:52:46 +00:00
HD Moore cb338fc271 Check for hosted databasee (no matching host for a service)
git-svn-id: file:///home/svn/framework3/trunk@4401 4d416f70-5f16-0410-b530-b9f4589650da
2007-02-16 19:14:55 +00:00
Matt Miller 9cda28221f more gracefully handle iconv being missing
git-svn-id: file:///home/svn/framework3/trunk@4400 4d416f70-5f16-0410-b530-b9f4589650da
2007-02-16 18:49:07 +00:00
Matt Miller 96a6131bf0 added module ds cache on a session basis
git-svn-id: file:///home/svn/framework3/trunk@4399 4d416f70-5f16-0410-b530-b9f4589650da
2007-02-16 06:40:55 +00:00
HD Moore ddb22785ee The datastore is now case insensitive, but this may lead to some confusion... lets see :-)
git-svn-id: file:///home/svn/framework3/trunk@4398 4d416f70-5f16-0410-b530-b9f4589650da
2007-02-16 05:39:38 +00:00
HD Moore 0b42f16d1f Add a comment about why color support was disabled for now
git-svn-id: file:///home/svn/framework3/trunk@4397 4d416f70-5f16-0410-b530-b9f4589650da
2007-02-16 05:22:36 +00:00
fab 4b99a048a9 - add completion to the module search
- add a better text message when the require gtk+ mismatch



git-svn-id: file:///home/svn/framework3/trunk@4395 4d416f70-5f16-0410-b530-b9f4589650da
2007-02-15 22:09:24 +00:00
HD Moore 9826b57b11 Added capture mixin (going to replace pcap)
git-svn-id: file:///home/svn/framework3/trunk@4393 4d416f70-5f16-0410-b530-b9f4589650da
2007-02-15 21:14:36 +00:00
HD Moore 52b0f8c2aa More code from alex
git-svn-id: file:///home/svn/framework3/trunk@4392 4d416f70-5f16-0410-b530-b9f4589650da
2007-02-15 21:14:11 +00:00
Matt Miller 93da259db2 additions to the user guide, fix data store to not import globally defined values, added ability to flush datastores
git-svn-id: file:///home/svn/framework3/trunk@4387 4d416f70-5f16-0410-b530-b9f4589650da
2007-02-15 08:02:47 +00:00
Matt Miller 3416375c72 typo, case sensitive
git-svn-id: file:///home/svn/framework3/trunk@4385 4d416f70-5f16-0410-b530-b9f4589650da
2007-02-15 07:28:52 +00:00
HD Moore a1c6dda462 Patches from solar to add symlink support to mod dirs and prevent caching of broken modules
git-svn-id: file:///home/svn/framework3/trunk@4384 4d416f70-5f16-0410-b530-b9f4589650da
2007-02-15 05:32:48 +00:00
fab 2473071564 - update console and session tree
git-svn-id: file:///home/svn/framework3/trunk@4383 4d416f70-5f16-0410-b530-b9f4589650da
2007-02-13 22:51:40 +00:00
fab 12c83bac78 - changle label name for the Job treeview
- add double click on to Session treeview to perform the console session


git-svn-id: file:///home/svn/framework3/trunk@4382 4d416f70-5f16-0410-b530-b9f4589650da
2007-02-13 19:56:19 +00:00
fab ebf41c00c7 - cleanup code
git-svn-id: file:///home/svn/framework3/trunk@4381 4d416f70-5f16-0410-b530-b9f4589650da
2007-02-13 18:02:56 +00:00
fab 6b45e0b15c - add focus on the search widget
- correct double-click on the module treeview


git-svn-id: file:///home/svn/framework3/trunk@4380 4d416f70-5f16-0410-b530-b9f4589650da
2007-02-13 17:04:16 +00:00
fab 22ec733f28 - grab focus to cmd_entry
git-svn-id: file:///home/svn/framework3/trunk@4379 4d416f70-5f16-0410-b530-b9f4589650da
2007-02-13 16:44:04 +00:00
fab 98fbadd5fe - add signal_connect to Gtk::Entry (hit Enter key to perform a search)
git-svn-id: file:///home/svn/framework3/trunk@4378 4d416f70-5f16-0410-b530-b9f4589650da
2007-02-13 16:12:26 +00:00
fab dca1bdbd0f - active_focus bogus
git-svn-id: file:///home/svn/framework3/trunk@4377 4d416f70-5f16-0410-b530-b9f4589650da
2007-02-13 16:05:00 +00:00
fab 817160dacb - expand the treeview after performing a seach in module tree
git-svn-id: file:///home/svn/framework3/trunk@4375 4d416f70-5f16-0410-b530-b9f4589650da
2007-02-13 15:26:38 +00:00
fab cde840f453 - add color to Gtk::Entry by running state, tooooo fun ;-)
git-svn-id: file:///home/svn/framework3/trunk@4374 4d416f70-5f16-0410-b530-b9f4589650da
2007-02-13 14:38:15 +00:00
fab 1812154275 - update the module treeview after search performing
git-svn-id: file:///home/svn/framework3/trunk@4373 4d416f70-5f16-0410-b530-b9f4589650da
2007-02-13 14:07:35 +00:00
fab 08ff6d905f - signal_connect a cancel button to clear the module search and refresh the modules treeview
git-svn-id: file:///home/svn/framework3/trunk@4372 4d416f70-5f16-0410-b530-b9f4589650da
2007-02-13 09:14:02 +00:00
fab bac18df17c - search engine done !
git-svn-id: file:///home/svn/framework3/trunk@4371 4d416f70-5f16-0410-b530-b9f4589650da
2007-02-13 08:48:39 +00:00
fab 10a4ada7b9 - prepare the next search engine for the module treeview
git-svn-id: file:///home/svn/framework3/trunk@4370 4d416f70-5f16-0410-b530-b9f4589650da
2007-02-13 00:22:05 +00:00
HD Moore 64ea078c37 git-svn-id: file:///home/svn/framework3/trunk@4368 4d416f70-5f16-0410-b530-b9f4589650da 2007-02-12 05:54:14 +00:00
HD Moore e6671f238f Session create/close log messages
git-svn-id: file:///home/svn/framework3/trunk@4367 4d416f70-5f16-0410-b530-b9f4589650da
2007-02-12 00:27:32 +00:00
HD Moore 12b6c4c839 Update the comments
git-svn-id: file:///home/svn/framework3/trunk@4366 4d416f70-5f16-0410-b530-b9f4589650da
2007-02-12 00:21:52 +00:00
HD Moore 97a87f957f Session kill now works for the GUI
git-svn-id: file:///home/svn/framework3/trunk@4365 4d416f70-5f16-0410-b530-b9f4589650da
2007-02-12 00:20:06 +00:00
HD Moore 9d8fd125a6 Updated the ActiveRecord loader to work properly with new gems package
git-svn-id: file:///home/svn/framework3/trunk@4364 4d416f70-5f16-0410-b530-b9f4589650da
2007-02-11 23:47:34 +00:00
fab a661c6598e - sessions stuff on msfgui, not yet finished and bad implementation
git-svn-id: file:///home/svn/framework3/trunk@4363 4d416f70-5f16-0410-b530-b9f4589650da
2007-02-11 23:32:01 +00:00
HD Moore 22f9a47099 Killing all jobs is now jobs -K
git-svn-id: file:///home/svn/framework3/trunk@4362 4d416f70-5f16-0410-b530-b9f4589650da
2007-02-11 23:25:07 +00:00
HD Moore 8a797e6bcc Support for killing sessions from the UI and killing all running jobs with jobs -a
git-svn-id: file:///home/svn/framework3/trunk@4361 4d416f70-5f16-0410-b530-b9f4589650da
2007-02-11 23:24:25 +00:00
fab c545082fc6 - connect the remove_session to the on_close_session (framework_event_manager)
git-svn-id: file:///home/svn/framework3/trunk@4359 4d416f70-5f16-0410-b530-b9f4589650da
2007-02-11 22:08:24 +00:00
HD Moore 4d205cdcd8 Consistency fixes for the print_* routines
git-svn-id: file:///home/svn/framework3/trunk@4358 4d416f70-5f16-0410-b530-b9f4589650da
2007-02-11 19:40:33 +00:00
HD Moore c46c1c2d04 Working meterpreter from inside msfweb
git-svn-id: file:///home/svn/framework3/trunk@4357 4d416f70-5f16-0410-b530-b9f4589650da
2007-02-11 19:33:01 +00:00
HD Moore 020ec49767 Updates to the msfgui interface
git-svn-id: file:///home/svn/framework3/trunk@4355 4d416f70-5f16-0410-b530-b9f4589650da
2007-02-11 09:22:06 +00:00
HD Moore 043e338f72 Tnos of updates, overhaul of the session/IO stuff, still quite broken
git-svn-id: file:///home/svn/framework3/trunk@4354 4d416f70-5f16-0410-b530-b9f4589650da
2007-02-11 08:57:43 +00:00
Matt Miller 4cd2679f2f get rid for prompt and use output for displaying the prompt
git-svn-id: file:///home/svn/framework3/trunk@4352 4d416f70-5f16-0410-b530-b9f4589650da
2007-02-11 06:59:22 +00:00
Matt Miller df10ee412d typos
git-svn-id: file:///home/svn/framework3/trunk@4349 4d416f70-5f16-0410-b530-b9f4589650da
2007-02-11 03:16:08 +00:00
fab d894adbb00 - add Time.now & Process::pid to target treeview
git-svn-id: file:///home/svn/framework3/trunk@4348 4d416f70-5f16-0410-b530-b9f4589650da
2007-02-11 00:04:05 +00:00
fab bdd4b0353f - the "OneShot" item in module view was changed by an "Execute" item
- "Execute" item now launch the MsfAssistant
- target tree is disabled
- add a double click on the exploit launch MsfAssistant



git-svn-id: file:///home/svn/framework3/trunk@4346 4d416f70-5f16-0410-b530-b9f4589650da
2007-02-10 22:05:54 +00:00
HD Moore d0f3f574b0 Basic session support for the web console
git-svn-id: file:///home/svn/framework3/trunk@4344 4d416f70-5f16-0410-b530-b9f4589650da
2007-02-10 18:07:08 +00:00
fab f4fd1051da - cleanup
git-svn-id: file:///home/svn/framework3/trunk@4343 4d416f70-5f16-0410-b530-b9f4589650da
2007-02-10 17:24:18 +00:00
HD Moore 4d7e93a272 Prevent session interaction using the web console (since its so broken)
git-svn-id: file:///home/svn/framework3/trunk@4342 4d416f70-5f16-0410-b530-b9f4589650da
2007-02-10 07:29:05 +00:00
HD Moore a310616f18 Updates to the web interface
git-svn-id: file:///home/svn/framework3/trunk@4341 4d416f70-5f16-0410-b530-b9f4589650da
2007-02-10 06:54:03 +00:00
HD Moore 1bf2db7a56 Command shell now working in the GUI
git-svn-id: file:///home/svn/framework3/trunk@4340 4d416f70-5f16-0410-b530-b9f4589650da
2007-02-10 05:01:48 +00:00
fab 590fede74c - test the new GtkConsolePipe (currently under devel)
git-svn-id: file:///home/svn/framework3/trunk@4339 4d416f70-5f16-0410-b530-b9f4589650da
2007-02-10 03:03:17 +00:00
HD Moore d1136c7286 Nevermind, the pipe_input.fd should be used instead of .fd
git-svn-id: file:///home/svn/framework3/trunk@4338 4d416f70-5f16-0410-b530-b9f4589650da
2007-02-10 02:55:28 +00:00
HD Moore 934f2652b5 Changed input_fd to just fd
git-svn-id: file:///home/svn/framework3/trunk@4337 4d416f70-5f16-0410-b530-b9f4589650da
2007-02-10 02:44:41 +00:00
HD Moore 3aa56ad827 Fixes a typo
git-svn-id: file:///home/svn/framework3/trunk@4336 4d416f70-5f16-0410-b530-b9f4589650da
2007-02-10 02:09:26 +00:00
HD Moore c60276c657 Inherit from the real pipe class, including the new input_fd() method
git-svn-id: file:///home/svn/framework3/trunk@4335 4d416f70-5f16-0410-b530-b9f4589650da
2007-02-10 02:05:58 +00:00
HD Moore b39346079d This adds the input_fd() method, which returns a selectable() socket
git-svn-id: file:///home/svn/framework3/trunk@4334 4d416f70-5f16-0410-b530-b9f4589650da
2007-02-10 02:04:52 +00:00
fab 4a875fa468 - Perform a match IP address for MyOneShot (Gtk::Dialog) and a Gtk::Label warning
git-svn-id: file:///home/svn/framework3/trunk@4333 4d416f70-5f16-0410-b530-b9f4589650da
2007-02-08 21:29:32 +00:00
fab c8dc150cc9 - Emits an activate signal to the Gtk::Entry of MyOneShot class.
git-svn-id: file:///home/svn/framework3/trunk@4332 4d416f70-5f16-0410-b530-b9f4589650da
2007-02-08 20:18:21 +00:00
fab 71c0275f73 - enable search in the module tree. User could hint Ctrl-F and tape the first letters of the searching module, he could be navigate throught results by using the up/down arrows .... Isn't fun, no ?
git-svn-id: file:///home/svn/framework3/trunk@4331 4d416f70-5f16-0410-b530-b9f4589650da
2007-02-07 22:28:55 +00:00
fab 49ea5b2369 - bug in display module view
git-svn-id: file:///home/svn/framework3/trunk@4330 4d416f70-5f16-0410-b530-b9f4589650da
2007-02-07 21:02:24 +00:00
fab 0fcadc33bb - cleanup
git-svn-id: file:///home/svn/framework3/trunk@4329 4d416f70-5f16-0410-b530-b9f4589650da
2007-02-06 21:43:06 +00:00
fab c23760c445 - Gtk::Entry on the console is done, cmd redirects to stdout
git-svn-id: file:///home/svn/framework3/trunk@4328 4d416f70-5f16-0410-b530-b9f4589650da
2007-02-05 22:36:43 +00:00
fab 7be3d1c3de - link MsfAssistant to bidirectionnal_pide
- add Gtk::Entry to console


git-svn-id: file:///home/svn/framework3/trunk@4327 4d416f70-5f16-0410-b530-b9f4589650da
2007-02-05 21:08:35 +00:00
fab a38dc64158 - isolate Gtk::TextBuffer for the bidirectional_pipe buffer, now all session owns his buffer
git-svn-id: file:///home/svn/framework3/trunk@4326 4d416f70-5f16-0410-b530-b9f4589650da
2007-02-04 23:33:27 +00:00
fab 2cbc44c634 - test the bidirectional_pipe for io
git-svn-id: file:///home/svn/framework3/trunk@4325 4d416f70-5f16-0410-b530-b9f4589650da
2007-02-04 22:14:46 +00:00
fab b48d6db741 - cleanup
git-svn-id: file:///home/svn/framework3/trunk@4324 4d416f70-5f16-0410-b530-b9f4589650da
2007-02-04 21:49:40 +00:00
fab 6612c5c9e5 - add comments
- isolate the view class (the view class)
- cleanup the msfgui input driver



git-svn-id: file:///home/svn/framework3/trunk@4323 4d416f70-5f16-0410-b530-b9f4589650da
2007-02-04 21:25:10 +00:00
fab f61e726dbe - change all msfgtk2 to msfgui
- update glade file
- change menu behaviour on module treeview


git-svn-id: file:///home/svn/framework3/trunk@4322 4d416f70-5f16-0410-b530-b9f4589650da
2007-02-04 19:30:49 +00:00
HD Moore aca397df09 Initial import for the msfgui code from Fab
git-svn-id: file:///home/svn/framework3/trunk@4316 4d416f70-5f16-0410-b530-b9f4589650da
2007-02-04 01:55:01 +00:00
HD Moore 2980467f1b Formatting updates
git-svn-id: file:///home/svn/framework3/trunk@4315 4d416f70-5f16-0410-b530-b9f4589650da
2007-02-04 01:54:10 +00:00
Matt Miller a68dfe89bf better errors if meterp file is missing
git-svn-id: file:///home/svn/framework3/trunk@4313 4d416f70-5f16-0410-b530-b9f4589650da
2007-02-03 19:39:11 +00:00