Closed Invictaz closed 4 months ago
Check the latest version reading carefully the known bugs section in Readme
Maybe it's because my device is x86 32 bit instead of ARM 32 bit (it's a tablet). Normally the libhoudini converts ARM to X86 but I hope you can make an X86 build for 32 bit Android as well.
I will report after manually extracting and testing the V1.1
Yes, it's definitely for that reason, they are different architectures. However, the x86 binaries could already be compiled easily on a Linux machine via the original PPPwn_cpp repository!
Yes but that is x86 for pc not x86 for Android?
It can cross compile I think... however you can compile directly on your device with Termux like I did.
Install Termux from here https://f-droid.org/repo/com.termux_118.apk.
Open termux and give these commands:
apt -y update && apt -y upgrade
apt install git build-essential binutils libpcap tsu
git clone --recursive https://github.com/xfangfang/PPPwn_cpp.git
cd PPPwn_cpp
cmake -B build
cmake --build build -t pppwn
If no errors you can test the bin with:
build/pppwn
Finally you can copy the new binaries in /data/data/it.deviato.droidpppwn/lib, or send me so I can include them in the app.
The files are pppwn, libpcap.so.1.10.4 and libc++_shared.so
This commands create the package pppwnbin.tar.gz in your sdcard root:
tsu
tar czvf /sdcard/pppwnbin.tar.gz /data/data/com.termux/files/home/PPPwn_cpp/build/pppwn /data/data/com.termux/files/usr/lib/libpcap.so.1.10.4 /data/data/com.termux/files/usr/lib/libc++_shared.so
I placed it and modded it to 755. Unfortubately it gives not executable 32 bit ELF file
I'm hoping to compile it now.
The compilation is a succes, I uploaded the file below. Remember it is X86 32 bit not 64bit.
The ioctl is because I removed the ethernet dongle temporarily.
However the libpcap.so.1 is not working on Android X86 yet. So for now it only runs in Termux. I might need to cross compile it but I don't know the flag to compile it for this architecture. You happen to know it @deviato ? I tried getting the file from data/data/com.termux/files/use/lib but it gives the same problem.
In Termux It needs 4 or 5 tries instead of 1 via Windows 11 or 1 or 2 on my Pi Zero 1. It is however much faster than the Python version.
The most problematic stage is the "scanning for corrupted objects" which fails quite some times before it works.
Succes
Forgot to say, after copying libpcap.so.1.10.4 to data/data..appfolder you have to rename it to libpcap.so.1
I tried to reach you from different places but I couldn't reach you, so I use this place. Is it possible to run this exploit via Hotspot connection? I tried yesterday with pppoe wifi connection but ps4 couldn't get ip address. I don't know anything about coding. if I'm saying something impossible sorry about that.
The libpcap.so.1.10.4 should be used instead of libpcap.so.1 from the termux usr lib folder.
That's what I said before, but you have to rename it to libpcap.so.1 after copying
It now seems to work, even worked first try compared to five tries needed under Termux.
However there is a small warning. Any way to solve it or doesn't it matter?
WARNING: linker: Warning: unable to normalize ""
Here are all the files to make it work on Android X86 - 32 bit, not 64bit
What am I missing to run it?