Skip to content

Instantly share code, notes, and snippets.

View AbhiTheModder's full-sized avatar
:octocat:
Focusing

Abhi AbhiTheModder

:octocat:
Focusing
View GitHub Profile
@AbhiTheModder
AbhiTheModder / to_wsl.sh
Last active January 31, 2025 05:28
Convert Windows "Copy as path" to its WSL/Linux Equivalent
#!/usr/bin/env bash
if [ -z "$1" ]; then
printf "No Input. Exiting...\n"
exit 1
fi
final_path=$(sed -e 's/\\/\//g' -e 's/C:\//\/mnt\/c\//g' <<<"$1")
printf "\"%s\"\n" "$final_path"
@AbhiTheModder
AbhiTheModder / move_apks.sh
Created November 11, 2024 04:05
bash script to relocate all APK files from the main directory and subdirectories into the specified output directory
#!/usr/bin/env bash
if [ -z "$1" ] || [ -z "$2" ]; then
echo "Usage: $0 <main_directory> <output_directory>"
exit 1
fi
main_dir="$1"
output_dir="$2"
@AbhiTheModder
AbhiTheModder / rename_apks.sh
Last active December 18, 2024 05:48
rename apks given a directory with the format `AppName+VersionNumber+VersionCode`
#!/usr/bin/env bash
# Check if the directory path is provided
if [ -z "$1" ]; then
echo "Please provide the directory path containing the APK files."
exit 1
fi
apk_dir="$1"
@AbhiTheModder
AbhiTheModder / reverse-engineering-golang.md
Created September 2, 2024 06:31 — forked from 0xdevalias/reverse-engineering-golang.md
Some notes, tools, and techniques for reverse engineering Golang binaries
@AbhiTheModder
AbhiTheModder / dex2c_install_termux.sh
Last active October 15, 2025 21:04
Setup Dex2C Termux
#!/data/data/com.termux/files/usr/bin/bash
if ! command -v termux-setup-storage; then
echo "This script can be executed only on Termux"
exit 1
fi
termux-setup-storage
cd "$HOME" || exit