ӉѦСҠіИԌ ҬЄѦӍ СѦИѦL ѺҒіСіѦL DіҒԱՏіóИ
Closed channel
1 781
Subscribers
No data24 hours
No data7 days
No data30 days
Posts Archive
▪️Print a list of connected devices:
adb devices
▪️Kill the ADB server: adb kill-server
▪️Install an application: adb install <path_to_the_APK_file>
▪️Set up port forwarding: adb forward tcp:6100 tcp:7100
▪️Copy a file/directory from the device: adb pull <path_to_the_remote_object> <path_to_the_local_destination>
▪️Copy a file/directory to the device: adb push <path_to_the_local_object> <path_to_the_remote_destination>
▪️Initiate an ADB shell: adb shell
❗️The < and > are just for the argument option, don't type them.Examples of ADB commands
To check if you have successfully installed ADB, connect your device to your PC/Mac with your USB cable, and run the adb devices command as described above. It should display your device listed in the Command Prompt/PowerShell/Terminal window. If you get a different output, we recommend starting over with the steps.
As mentioned above, you can use ADB to do all sorts of things on an Android device. Some of these commands are built directly into the ADB binary and should work on all devices. You can also open up what is referred to as an ADB Shell that will let you run commands directly on the device. The commands which are run directly on the device can vary from device to device (since OEMs can remove access to certain ones, and also modify ADB behavior) and can vary from one version of Android to the next as well.
Below, you'll find a list of example commands which you can do on your device:
How to set up ADB on Linux
1️⃣ Download the Android SDK Platform Tools ZIP file for Linux :
https://dl.google.com/android/repository/platform-tools-latest-linux.zip
2️⃣ Extract the ZIP to an easily-accessible location (like the Desktop for example).
3️⃣ Open a Terminal window.
4️⃣ Enter the following command:
cd /path/to/extracted/folder/
This will change the directory to where you extracted the ADB files.
Example : cd /home/$USER/Desktop/platform-tools/
5️⃣ Connect your device to your Linux machine with your USB cable. Change the connection mode to "file transfer (MTP)" mode. This is not always necessary for every device, but it's recommended so you don't run into any issues.
6️⃣ Once the Terminal is in the same folder your ADB tools are in, you can execute the following command to launch the ADB daemon: ./adb devices
7️⃣ Back on your smartphone or tablet device, you'll see a prompt asking you to allow USB debugging. Go ahead and grant it.
8️⃣ Finally, re-enter the command from step 7. If everything was successful, you should now see your device's serial number in macOS's Terminal window.
❗️Linux users should know that there is an easier way to install ADB on their computers. The guide above will certainly work for you, but those who own a mainstream Debian/Ubuntu or Fedora/SUSE-based distro of Linux can skip steps 1 and 2 of the guide above and use one of the following commands:
▪️Debian/Ubuntu-based Linux users can type the following command to install ADB:
sudo apt-get install android-sdk-platform-tools▪️Fedora/SUSE-based Linux users can type the following command to install ADB:
sudo dnf install android-toolsHowever, it is always better to opt for the latest binary from the Android SDK Platform Tools release, since the distro-specific packages often contain outdated builds.
How to set up ADB on macOS
1️⃣ Download the Android SDK Platform Tools ZIP file for macOS :
https://dl.google.com/android/repository/platform-tools-latest-darwin.zip
2️⃣ Extract the ZIP to an easily-accessible location (like the Desktop for example).
3️⃣ Open Terminal.
4️⃣ To browse to the folder you extracted ADB into, enter the following command:
cd /path/to/extracted/folder/
➡️ For example, you can place the contents on your desktop: cd /Users/hacker/Desktop/platform-tools/
5️⃣ Connect your device to your Mac with a compatible USB cable. Change the USB connection mode to "file transfer (MTP)" mode. This is not always required for every device, but it's best to just leave it in this mode so you don't run into any issues.
6️⃣ Once the Terminal is in the same folder your ADB tools are in, you can execute the following command to launch the ADB daemon: ./adb devices
7️⃣ On your device, you'll see an Allow USB debugging prompt. Allow the connection.
8️⃣ Finally, re-enter the command from step 7. If everything was successful, you should now see your device's serial number in macOS's Terminal window.5️⃣ Connect your smartphone or tablet to your computer with a USB cable. Change the USB mode to "
file transfer (MTP)" mode. Some OEMs may or may not require this, but it's best to just leave it in this mode for general compatibility.
6️⃣ In the Command Prompt/Terminal window, enter the following command to launch the ADB daemon: adb devices
7️⃣ On your phone's screen, you should see a prompt to allow or deny USB Debugging access. Naturally, you will want to grant USB Debugging access when prompted (and tap the always allow check box if you never want to see that prompt again).
8️⃣ Finally, re-enter the command from step 6. If everything was successful, you should now see your device's serial number in the command prompt (or the PowerShell window).
You can now run any ADB command on your device.How to set up ADB on Microsoft Windows
1️⃣ Download the Android SDK Platform Tools ZIP file for Windows :
https://dl.google.com/android/repository/platform-tools-latest-windows.zip
2️⃣ Extract the contents of this ZIP file into an easily accessible folder (such as
C:\platform-tools).
3️⃣ Open File Explorer and browse to where you extracted the contents of this ZIP file.
4️⃣ Open up a Command Prompt/Terminal instance from the same directory as this ADB binary. This can be done by holding Shift and right-clicking within the folder and then clicking Open command window here or Open PowerShell window here. Windows 11 users should see Open in Terminal in the right-click context menu without even pressing the Shift button on the keyboard.Phone setup
1️⃣ Launch the
Settings application on your phone.
2️⃣ Tap the About phone option generally near the bottom of the list.
(Depending on the OEM skin, the About phone page may be called something else or buried somewhere else in the Settings app on your device.)
3️⃣ Then tap the Build number option seven times to enable Developer Mode. You will see a toast message when it is done.
4️⃣ Now go back to the main Settings screen and you should see a new Developer options menu you can access. On Google Pixel phones and some other devices, you might need to navigate to Settings > System to find the Developer options menu.
5️⃣ Go in there and enable the USB debugging option.
6️⃣ You are partially done with the phone setup process. Next up, you will need to scroll below and follow the rest of the instructions for your particular operating system.If the daemon isn’t running, then it will start the process and tell you which local TCP port it has been started on.
Once that ADB service has been started, it will continue to listen to that specific port for commands that have been sent by the ADB client.
It will then set up connections to all running devices which are attached to the computer (including emulators).
This is the moment when you’ll receive the authorization request on the Android device if the computer hasn’t been authorized in the past.
How does ADB work?
Because there are three pieces that make up ADB (the client, the daemon, and the server), this requires certain pieces to be up and running in the first place.
If you have freshly booted the computer (and you don’t have it set up to start the daemon on boot), then you will need it to be running before any communication can be sent to the target Android device.
You’ll see the following message in the command prompt or terminal, which will check to make sure the daemon is running.
❔HOW TO INSTALL ADB❔
What is Android Debug Bridge (ADB)?
The internal structure of the Android Debug Bridge (
ADB) is based on the classic client-server architecture. There are three components that make up the entire process.
▪️The client, i.e. the PC/Mac/Chromebook you have connected to your Android device. We are sending commands to our device from the computer through the USB cable or wirelessly.
▪️A daemon (known as "adbd") that runs commands on a device. The daemon runs as a background process on each device.
▪️A server that manages communication between the client and the daemon. The server runs as a background process on the computer.#Red_Team
100 Best Free Red Team Tools – 2023.
https://cybersecuritynews.com/red-team-tools/
rwctf2023-ASTLIBRA
SSRF attack on MySQL Server with password using php-curl
https://github.com/wupco/rwctf2023-ASTLIBRA
CVE-2021-42013
A python script that will help in finding Path Traversal or Remote Code Execution vulnerability in Apache 2.4.50
https://github.com/walnutsecurity/cve-2021-42013
#cve #RCE
n0kovo_subdomains
Wordlist for subdomain enumeration of 3,000,000 lines, crafted by harvesting SSL certificates from the entire IPv4 space. Shortened versions of the list are also available: 1 000 000, 500 000, 200 000 and 50 000 lines.
https://github.com/n0kovo/n0kovo_subdomains
Contributor twitter.com/n0kovo
Brute_Pup
A web-hunting tool with bruteforce capabilities, and hooked into GoWitness.
Bruteforce multiple petabytes of potential sites and subdirectories, then check every combination for existence, and if it exists go take a picture! This usage is a bit extreme, but this is certainly a cool and functional apparatus for dirbusting/bruteforcing/OSINT.
https://github.com/7RIXx/Toolbelt/tree/main/Brute_Pup
ModSecurity Backdoor
This is a proof-of-concept of malicious software running inside of ModSecurity WAF
https://github.com/azurit/modsecurity-backdoor
Sysadmin impresionante
Una lista completamente seleccionada de recursos y empeorados gratuitos y abiertos para el administrador del sistema.
Automatización
▫️asty Copias
▫️ Instrumentos de ensamblaje y organización del software
▫️ Gestión del cliente
▫️ Turning
▫️ Eveler Computing
▫️ Eve Way
Revisión de código ▫️
▫️ La administración es la configuración
▫️ Integración de retorno e implementación continua
Paneles de control
▫️ Base de datos
▫️ Sistemas de archivos distribuidos
y muchos otros ...
https://github.com/wesome-foss/awesome-sysadmin
𝙏𝙊𝙎𝙄𝙉𝙏 - 𝙏𝙚𝙡𝙚𝙜𝙧𝙖𝙢 𝙊𝙨𝙞𝙣𝙩 👽
Tosint is a tool to extract information from telegram bots and related associated channels
Link 🔗:-
https://github.com/drego85/tosint
