A friend of yours works for SOL Internet solutions. About 3 weeks ago, she was appointed a new boss, but they don't get along. Now, her boss is refusing her her pay check, so she's asked you to hack the her bosses account for her, and have her paycheck paid out.
To help you along, she grabbed a file that looked important from browsing her computer. Maybe it will help.
Code: Select all
<?PHP
function g7crypt($string, $offst)
{
$disp = "nd";
$cton = str_split("abcdefghijklmnopqrstuvwxyz0123456789");
$convntoc = NULL;
$string = strip_tags($string);
$string = stripslashes($string);
$string2 = $string;
$z = "d";
$y = "p";
$x = "s";
$w = "i";
$l = $z;
$z = $y;
$y = $w;
$w = $x;
${$disp} = "$l$y$w$z";
for($a = 0; $a < count($cton); $a++)
{
$string2 = str_replace($cton[$a], "", $string2);
}
if(!empty($string2))
{
die("Invalid Characters: $string2");
}
$split = str_split($string);
$conv = array();
if($offst === FALSE)
{
$disp = rand(5,30);
} else {
$disp = $offst;
}
for($a = 0; $a < count($split); $a++)
{
$key = array_search($split[$a], $cton);
$key = $key+${$nd};
if($key > 35)
$key = $key-35;
$convntoc .= $cton[$key];
}
return $split[0].$convntoc;
}
?>
In this challenge you will be required to break an encryption, made by me. You may not brute force the website NO MATTER WHAT. For the solution, you will be given a code, AND you must give one of 2 things:
1. If you created a program or script to reverse the encryption, send it to us
2. If you hand-reversed the encryption, give a detailed description on how you did it.
When you finish the challenge, PM an administrator.
http://g70net.com/wargames/5
Edit: Forgot to give you guys some info to complete the challenge, lol.
Your friend's account is:
User: scamel
Pass: dpepr
The bosses user is: jsmoker