offensive-security / kali-nethunter

The Kali NetHunter Project
https://github.com/offensive-security/kali-nethunter/wiki
3.52k stars 890 forks source link

2019.2 #1281

Open kimocoder opened 5 years ago

kimocoder commented 5 years ago
kimocoder commented 5 years ago

Do we need the wifi scripts after you added autoloading of modules into chroot?

Re4son commented 5 years ago

No autoloading, only mounting of the partition so that we can load them manually.

Here's another idea: How about a monstart script: sudo iw phy iw dev wlan1 info | gawk '/wiphy/ {printf "phy" $2}' interface add wlan1mon type monitor

and a corresponding monstop script. We could even make it wlan$1 and pass the interface number via command line parameter. Or we can make it "wlanmon <start/stop/status>" What do you think?

kimocoder commented 5 years ago

Yes, but not everyone is using it for its wifi capabilities, so there has to be added a check for adapter in that case propably

kimocoder commented 5 years ago

Here's my list:

kimocoder commented 5 years ago

Could you finish the monstart script @Re4son ?

I'll be busy for some weeks

Re4son commented 5 years ago

Working on it outside this request. We might even want to add a button in the nethunter app.

Re4son commented 5 years ago

What's the reason for not removing the firmware and nethunter-app during uninstall?

Re4son commented 5 years ago

I like those helper scripts. Are they to be used inside or outside the chroot, or both?

kimocoder commented 5 years ago

@Re4son it removes the firmware? And the app, and the "nhsystem" ... Something i missed out on here?

Re4son commented 5 years ago

it removes the firmware? And the app, and the "nhsystem" ...

This commit deletes the part that removes the firmware, app and chroot: https://github.com/offensive-security/kali-nethunter/blob/9439ee1540fb82b4053f0f1001c556fd5d736a2d/nethunter-installer/uninstaller/META-INF/com/google/android/update-binary

Was that on purpose?

This commit adds scripts - are they supposed to be run in the chroot environment or in a normal Android terminal? https://github.com/offensive-security/kali-nethunter/blob/9439ee1540fb82b4053f0f1001c556fd5d736a2d/nethunter-installer/uninstaller/META-INF/com/google/android/update-binary We need matching mounts and/or symlinks depending on their scope. We should probably make a design decision on how to include this kind of scripts.

kimocoder commented 5 years ago

Them should move over. I'll Fix it shortly, but the uninstaller seems ok to me? Or have I did to much computers again?

Re4son commented 5 years ago

The uninstaller doesn't uninstall the firmware and nethunter-app anymore (nethunter-app will be installed under /system/priv-app) and the nhscript directory is also not uninstalled. image

kimocoder commented 5 years ago

Ouch, I had that kind a day :( Anyhow, I'm on the killkali issue right now..