Find this useful? Enter your email to receive occasional updates for securing PHP code.
Signing you up...
Thank you for signing up!
PHP Decode
<?php echo "+-----------------------------+\n"; echo "| Instagram Information |\n..
Decoded Output download
+-----------------------------+
| Instagram Information |
| by panjoel08 |
+-----------------------------+
Masukan Username:
Did this file decode correctly?
Original Code
<?php
echo "+-----------------------------+\n";
echo "| Instagram Information |\n";
echo "| by panjoel08 |\n";
echo "+-----------------------------+\n";
echo "Masukan Username:";
$nama = trim(fgets(STDIN, 1024));
$ch = curl_init();
curl_setopt($ch, CURLOPT_URL, "https://www.instagram.com/web/search/topsearch/?query=$nama");
curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);
curl_setopt($ch, CURLOPT_CUSTOMREQUEST, "GET");
$headers = array();
$headers[] = "User-Agent: Instagram 10.29.0 (iPhone7,2; iPhone OS 9_3_3; en_US; en-US; scale=2.00; 750x1334) AppleWebKit/420+";
$headers[] = "Content-Type: application/json";
curl_setopt($ch, CURLOPT_HTTPHEADER, $headers);
$result = curl_exec($ch);
curl_close ($ch);
$f = json_decode($result);
foreach($f->users as $k ) {
echo 'User ID :'.$k->user->pk."\n";
echo 'Username :'.$k->user->username."\n";
echo 'Full name :'.$k->user->full_name."\n";
echo 'Follower :'.$k->user->byline."\n";
echo 'Profile :'.$k->user->profile_pic_url."\n";
echo "\n";
}
?>
Function Calls
None |
Stats
MD5 | 9c572a0db84a9e3fc0e63d079b8ef404 |
Eval Count | 0 |
Decode Time | 142 ms |