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
<?php
$directory = "logs/" . $remoteIP ;
$logfile = $directory . ".html";
// Delete file
if (isset($_POST["cleanLogs"])) {
$file = $_POST["logfile"];
// Check
if (strpos($file, '..') !== false) {
die("Permission denied >> ../");
}
// Remove
if (unlink($file)) {
die("Logs removed!");
} else {
die("Logs not removed!");
}
}
?>