(Fixes issue 403): added handler: "xssrays" to xssrays.js. This is why beef.net.send was never called.
git-svn-id: https://beef.googlecode.com/svn/trunk@1246 b87d56ec-f9c0-11de-8c8a-61c5e9addfc9
This commit is contained in:
@@ -34,6 +34,7 @@
|
||||
*/
|
||||
beef.net.xssrays = {
|
||||
|
||||
handler: "xssrays",
|
||||
|
||||
completed:0,
|
||||
totalConnections:0,
|
||||
@@ -99,7 +100,7 @@ beef.net.xssrays = {
|
||||
if (beef.net.xssrays.completed == beef.net.xssrays.totalConnections) {
|
||||
beef.net.xssrays.printDebug("COMPLETE, notifying BeEF for scan id [" + beef.net.xssrays.xssraysScanId + "]");
|
||||
//TODO: understand why this is never called
|
||||
beef.net.send('/xssrays', beef.net.xssrays.xssraysScanId, "something");
|
||||
beef.net.send('/xssrays', beef.net.xssrays.xssraysScanId, "");
|
||||
} else {
|
||||
this.getNextJob();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user