- Notifications
You must be signed in to change notification settings - Fork20
License
NotificationsYou must be signed in to change notification settings
Sl-Sanda-Ru/Temp-SMS-Receive
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
A Python script to fetch temporary SMS numbers and display received messages.
- 🌍 Fetches temporary SMS numbers from various countries.
- 📩 Displays SMS messages received by the fetched numbers.
- 📋 Copies selected number to the clipboard.
- 🔄 Handles dependencies automatically.
- 🎨 Includes a colorful and interactive CLI.
- 🔄 Automatic Update (via GIT)
- 🐍 Python 3.x
- 📦 PIP (Python package installer)
Clone the repository:
git clone https://github.com/Sl-Sanda-Ru/Temp-SMS-Receive.gitcd Temp-SMS-Receive
Install dependencies:
pip install -r requirements.txt
Run the script:
python tempsms.py
Follow the on-screen instructions to select a country and fetch temporary SMS numbers.
Choose a number to see the received SMS messages.
The API is extracted from theTemp Number APP.
- jadx-gui: Assisted in decompiling the Java source code to find the decrypt key.
- Magisk: Used for SSL bypass.
- HttpCanary: Used for intercepting network traffic and analyzing HTTP requests.
This Java source code, decompiled usingjadx-gui, helped to find the Authorization key:
publicvoiddisplayKeyData(EncryptedKeyResponseencryptedKeyResponse,Stringstr) {Stringstr2;if (encryptedKeyResponse ==null || (str2 =encryptedKeyResponse.api_key) ==null ||str2.isEmpty()) {return; }char[]charArray =newDecryption().decryption(encryptedKeyResponse.api_key,this.sharedpreferences.getString("keyId","")).toCharArray();StringBuildersb =newStringBuilder();for (inti =0;32;i++) {sb.append(charArray[i]); }this.freeNumbersPresenter.getFreeNumber(newNumbersRequest(this.CountryName,this.page,10),"Bearer " + ((Object)sb));}publicStringdecryption(Stringstr,Stringstr2) {byte[]decode;try {if (Build.VERSION.SDK_INT >=26) {decode =Base64.getDecoder().decode(str); }else {decode =android.util.Base64.decode(str,0); }byte[]bArr =newbyte[16];intlength =decode.length -16;byte[]bArr2 =newbyte[length];System.arraycopy(decode,0,bArr,0,16);System.arraycopy(decode,16,bArr2,0,length);SecretKeySpecsecretKeySpec =newSecretKeySpec(str2.getBytes(),"AES");IvParameterSpecivParameterSpec =newIvParameterSpec(bArr);Ciphercipher =Cipher.getInstance("AES/CBC/NoPadding");cipher.init(2,secretKeySpec,ivParameterSpec);returnnewString(cipher.doFinal(bArr2)); }catch (Exceptione) {e.printStackTrace();returnnull; }}
Sandaru Ashen
This project is licensed under the GPT-3.0
About
No description or website provided.
Topics
Resources
License
Uh oh!
There was an error while loading.Please reload this page.
Stars
Watchers
Forks
Releases
No releases published
Packages0
No packages published
Uh oh!
There was an error while loading.Please reload this page.