|
@ -36,10 +36,12 @@ fi`; |
|
|
}, usage); |
|
|
}, usage); |
|
|
}; |
|
|
}; |
|
|
|
|
|
|
|
|
module.exports = reverseShell; |
|
|
const handler = (request, response) => { |
|
|
|
|
|
|
|
|
module.exports.handler = (request, response) => { |
|
|
|
|
|
const { address } = request.query; |
|
|
const { address } = request.query; |
|
|
|
|
|
|
|
|
response.send(reverseShell(address)); |
|
|
response.send(reverseShell(address)); |
|
|
}; |
|
|
}; |
|
|
|
|
|
|
|
|
|
|
|
module.exports = handler; |
|
|
|
|
|
|
|
|
|
|
|
module.exports.reverseShell = reverseShell; |
|
|