deviato / DroidPPPwn

PPPwn_cpp for Android + App Frontend [needs rooted device]
105 stars 5 forks source link

Which library you add , to run c++ code? #1

Closed Dark-life944 closed 4 months ago

deviato commented 4 months ago

I've used PPPwn_cpp from xfangfang and compiled natively for android. I made some attempts using the zig cross-compiler provided in xfangfang repo, but the exploit didn't work, it gave me a "bus error" right after the "Defeating KASLR" stage. So in the end I compiled it directly on my phone, using Termux and a minimal build environment + pcap shared library

Dark-life944 commented 4 months ago

I've used PPPwn_cpp from xfangfang and compiled natively for android. I made some attempts using the zig cross-compiler provided in xfangfang repo, but the exploit didn't work, it gave me a "bus error" right after the "Defeating KASLR" stage. So in the end I compiled it directly on my phone, using Termux and a minimal build environment + pcap shared library

For cpp you need library vim or clang to run cpp codes , i add the project of pppwn Android App on my repo use it , it well work properly just need to add some library, i don't my app because of my bad pc

deviato commented 4 months ago

I think you are confusing a lot of things: vim is an editor, clang is a compiler. Libraries have nothing to do with it. In your repo you are using the original Python version, I forked the port in C++ by xfangfang.

Dark-life944 commented 4 months ago

Yep, you are correct, but you need to add interface choices, not every one have same interface, and add something like nmap for it ,