-
Notifications
You must be signed in to change notification settings - Fork 75
Open
Description
Not an issue, just wanted to share general steps on how to setup pppwn_cpp on OPNsense.
SSH into opnSense, e.g.
ssh root@192.168.1.1Enter option 8) for shell.
echo "FreeBSD: { enabled: yes }" > /usr/local/etc/pkg/repos/FreeBSD.confpkg update
pkg install cmake gcc libpcap gitClone the repo:
git clone https://github.com/xfangfang/PPPwn_cpp.git
cd ~/PPPwn_cppNote, compile options should match your CPU (I'm using ZimaBoard to run OPNsense)
mkdir build
cmake -B build -DUSE_SYSTEM_PCAP=OFF -DZIG_COMPILE_OPTION='-march=apollolake;-mcpu=apollolake'
cmake --build build -t pppwnFrom Windows cmd (not OPNsense shell) run the following to transfer stage files (adjust the paths):
scp C:\Users\user\Desktop\PS4\9.60\stage1.bin C:\Users\user\Desktop\PS4\9.60\stage2.bin [email protected]:~/PPPwn_cpp/build/Back in OPNsense shell (adjust the interface):
cd ~/PPPwn_cpp/build
./pppwn --interface igb0 --fw 960 --stage1 "stage1.bin" --stage2 "stage2.bin" --auto-retry --timeout 10Note: I have a 1gb network setup at home, and configuring Speed and duplex to 10baseT/UTP for the interface I'm using to run pppwn_cpp. That gave me the best result.
Tokarak
Metadata
Metadata
Assignees
Labels
No labels