GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — phantom-frida/build-wsl.sh at master · gitlanyi/phantom-frida

Expand file tree

/

build-wsl.sh

Copy path
More file actions
More file actions

Latest commit

 

History

History
History
63 lines (53 loc) · 1.68 KB
/

build-wsl.sh

Copy path

File metadata and controls

63 lines (53 loc) · 1.68 KB
Raw
Copy raw file
Download raw file
Open symbols panel
Edit and raw actions
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
#!/bin/bash
# Build custom Frida server in WSL Ubuntu
#
# Usage from Windows:
# wsl -d Ubuntu bash /mnt/d/Tools/Reversing/Android/custom-frida-builder/build-wsl.sh
#
# Or from WSL:
# cd /mnt/d/Tools/Reversing/Android/custom-frida-builder
# bash build-wsl.sh
#
# Configuration via environment variables:
# FRIDA_VERSION=17.7.2 (required)
# CUSTOM_NAME=stealth (default: ajeossida)
# CUSTOM_PORT=27142 (default: 27042)
# BUILD_ARCH=android-arm64 (default: android-arm64)
# EXTENDED=1 (default: 0)
# TEMP_FIXES=1 (default: 0)
set -euo pipefail
SCRIPT_DIR="$(cd "$(dirname "$0")" && pwd)"
FRIDA_VERSION="${FRIDA_VERSION:-17.7.2}"
CUSTOM_NAME="${CUSTOM_NAME:-ajeossida}"
CUSTOM_PORT="${CUSTOM_PORT:-}"
BUILD_ARCH="${BUILD_ARCH:-android-arm64}"
EXTENDED="${EXTENDED:-0}"
TEMP_FIXES="${TEMP_FIXES:-0}"
echo "=== Custom Frida Builder (WSL) ==="
echo " Version: $FRIDA_VERSION"
echo " Name: $CUSTOM_NAME"
echo " Arch: $BUILD_ARCH"
echo " Port: ${CUSTOM_PORT:-27042 (default)}"
echo ""
# Check dependencies
for cmd in git python3 curl unzip make; do
if ! command -v "$cmd" &>/dev/null; then
echo "ERROR: $cmd not found. Install it:"
echo " sudo apt update && sudo apt install -y git python3 curl unzip make"
exit 1
fi
done
# Build command
BUILD_CMD="python3 $SCRIPT_DIR/build.py --version $FRIDA_VERSION --name $CUSTOM_NAME --arch $BUILD_ARCH --verify"
if [ -n "$CUSTOM_PORT" ]; then
BUILD_CMD="$BUILD_CMD --port $CUSTOM_PORT"
fi
if [ "$EXTENDED" = "1" ]; then
BUILD_CMD="$BUILD_CMD --extended"
fi
if [ "$TEMP_FIXES" = "1" ]; then
BUILD_CMD="$BUILD_CMD --temp-fixes"
fi
echo "Running: $BUILD_CMD"
echo ""
exec $BUILD_CMD
You are visitor 01402792 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.