FalsePhilosopher / PPPwnWRT

PPPwn for OpenWRT
65 stars 8 forks source link

Run the script when Lan connection is detected? #22

Open AlirezaXdehghan opened 2 months ago

AlirezaXdehghan commented 2 months ago

Hi there, thanks for the great writeup. I was thinking is there a way to only run the script when a connection is detected on the interface (e.g br-lan) instead of running it every X seconds? because the thing is I want to make it fully automated but it keeps running in the background even after pwning the ps4 so it leads to crashes because it tries to corrupt an object in the memory. or is there a plugin to stop network activity in ps4 when goldhen is launched? my goal is to make this fully automated without doing anything on user's end! thanks.

FalsePhilosopher commented 2 months ago

I think such functionality exists in the pi-pppwn setup and can be adapted to work for openwrt, i'm not sure the loop in the run script is necessary with the updates to the functionality of pppwn_cpp anyway. If you get an updated launch script working feel free to send a PR and add yourself to the contributor list.

AlirezaXdehghan commented 2 months ago

well thanks for pointing me to pi-pwn, actually their implementation of the detection was quite logical and easy! but they're using nmap to detect goldhen so I don't think it's practical to run it on a router with low flash storage, anyway I might start writing some code, thanks!

FalsePhilosopher commented 2 months ago

Anytime! I look forward to seeing what solutions you can throw at it!

kadom11 commented 1 month ago

Hello my friend, I use a Xiaomi 4c router, and when I use the mips build, it does not work well, and sometimes it works. If possible, explain the method to me better, and does the type of openwrt affect it if the version is updated? Thanks.

FalsePhilosopher commented 1 month ago

Hello my friend, I use a Xiaomi 4c router, and when I use the mips build, it does not work well, and sometimes it works. If possible, explain the method to me better, and does the type of openwrt affect it if the version is updated? Thanks.

Not an issue with PPPwnWRT but with pppwn_cpp, open an issue in pppwn_cpp if you are having troubles with using pppwn_cpp.

kadom11 commented 1 month ago

thanks for your reply . But when I load the mips bulid, it appears like this and in red

change stage1.bin, firmware version and interface accordingly in '/etc/pppwnwrt/pppwnwrt.sh'! start the script after you change these variables!

FalsePhilosopher commented 1 month ago

thanks for your reply . But when I load the mips bulid, it appears like this and in red

change stage1.bin, firmware version and interface accordingly in '/etc/pppwnwrt/pppwnwrt.sh'! start the script after you change these variables!

That's correct, it is part of the install process of step 4 notifying you of what interfaces you have available for you to use in step 5 and is not an error. If you need further assistance on installing or troubleshooting you can ask in the playstation homebrew discord ps4 channel and they are very fast to respond.