Skip to content

Commit

Permalink
upload the project to github
Browse files Browse the repository at this point in the history
  • Loading branch information
CurryOnPatat committed May 8, 2022
0 parents commit 846eb45
Show file tree
Hide file tree
Showing 10 changed files with 167 additions and 0 deletions.
Binary file added footer.gif
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
35 changes: 35 additions & 0 deletions footer.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
<?php
// laat de pixel in
header('Content-Type: image/gif');
readfile('footer.gif');

// vraagt de tijd(request_time) en het ip adress(REMOTE_ADDR) op [english: asks the time(request_time) and the ip address(REMOTE_ADDR) ]
// ip adress kan verkeerd zijn op gmail Google proxy somsige urls tijd is wel nog exact [english: the ipadress can be wrong gmail uses a proxy, the time is always correct"]
$date = date('Y-m-d H:i:s', $_SERVER['REQUEST_TIME']);
$device = ($_SERVER['HTTP_USER_AGENT']);
#$ip = $_SERVER['REMOTE_ADDR'];
$ip = ($_SERVER['REMOTE_ADDR']);
$id = $_GET["id"];
// inport alles wat hierboven staat
$txt = "email read on". $date. " id: ". $id ." with the ipadress:". $ip." with webkit ". "$device". "";
$file = "email read on". $date. " id: $id";
// testen voor inporten voor gui [english: testing for inporting with gui ]
$log = file_put_contents('log.txt', $file.PHP_EOL , FILE_APPEND);


// telegram api gedoe [english: telegram api bullcrap]
function telegram($msg) {
global $telegrambot,$telegramchatid;
$url='https://api.telegram.org/bot'.$telegrambot.'/sendMessage';$data=array('chat_id'=>$telegramchatid,'text'=>$msg);
$options=array('http'=>array('method'=>'POST','header'=>"Content-Type:application/x-www-form-urlencoded\r\n",'content'=>http_build_query($data),),);
$context=stream_context_create($options);
$result=file_get_contents($url,false,$context);
return $result;
}
// telegram bot id stuur niet mee naar andere mensen [english: dont matter]
$telegrambot='yourtelegramapikeyhere';
$telegramchatid=yourtelegramchatidhere;
// verstuurd het bericht [english: sends the message to your telegram bot]
telegram ("$txt");
exit;
?>
18 changes: 18 additions & 0 deletions link genrator files/email.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
<html>
<link rel="stylesheet" href="style.css">
<title> email gen linkie </title>

<body>
<style>

</style>
<div class="container column">
<h1> your link that you need to put in the email is:
<?php echo htmlspecialchars('<img src="https://emailfooter.lauwielocal.tk/footer.php?image=footer.gif&id="'.$_GET["email"].'">'); ?>
</h1>
</div>



</body>
</html>
1 change: 1 addition & 0 deletions link genrator files/index.php
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
<?php header("Location: panel.php"); ?>
19 changes: 19 additions & 0 deletions link genrator files/link.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
<html>
<body>
<link rel="stylesheet" href="style.css">

<title> email gen </title>

<div class="container column">
<h1><form action="email.php" method="get">
Email adress van die persoon: <input type="text" name="email"><br>
<input class="button"type="submit"></h1>
</div>
</body>
</html>
18 changes: 18 additions & 0 deletions link genrator files/log.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
<html>
<link rel="stylesheet" href="style.css">

<div class="container column">
<h1> log boek </h1>

<?php

$filename = 'https://yoururlgoeshere/log.txt';

$data = file($filename);
foreach ($data as $line_num=>$line)
{
echo ' <b>'.$line_num.'</b>:'.$line.'<br/>';
}
?>

</html>
Empty file added link genrator files/log.txt
Empty file.
14 changes: 14 additions & 0 deletions link genrator files/panel.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
<b><?php

include 'link.php';


?> </b>


<div class="footer"><?php

include 'log.php';


?> </div>
62 changes: 62 additions & 0 deletions link genrator files/style.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,62 @@
body {
background-color: #4a9dfc;
}

h1,h2 {
color: black;
text-align: center;
}

p {
font-family: verdana;
font-size: 20px;
}
form {
text-align: center;



}

* {


font-family: 'Poppins', sans-serif;
}

.container {
display: flex;
border-radius: 20px;
background-color: #FFF;
align-items: center;
align-content: center;
margin-top: 10px;
}

.column {
align-items: center;
flex-direction: column;
align-content: center;
align-self: center;
}

.button {
background-color: black;
border: 25%;
color: white;
padding: 15px 32px;
text-align: center;
text-decoration: none;
display: inline-block;
font-size: 16px;
margin: 4px 2px;
cursor: pointer;
border-radius: 12px;
}

.footer {
clear: both;
position: relative;
height: 100px;

}
Empty file added log.txt
Empty file.

0 comments on commit 846eb45

Please sign in to comment.