View Single Post
Posts: 83 | Thanked: 142 times | Joined on Jun 2011 @ Paris, France
#147
Originally Posted by Saturn View Post
Hi, the check would be best done by using dpkg; e.g. for wget

Code:
if dpkg -l | grep wget 1>/dev/null; then echo $?;fi
I didn't think about that, but I think just checking for a file to exist is simpler than calling two other programs, however light they are. That's a good idea though.

####

Originally Posted by Chrome View Post
Placed it in /usr/bin and give it permissions. It does run using "mitm_pcsci3nce.sh"

Works like a charm and checks for deps on start up, but why not use osso-xterm and ash like vi_ did?
Osso-xterm seems to be a pain in the *** to use ! But if we find a way to use it, it will be used. That's not a priority though, since xterm is pretty light and is the most used script-wise. As for ash, that's just plain weird. It should be working but when Unhuman tested it, it failed.

What would be nice is for you guys to test with ash on your own, either with :
- ash script.sh
- script.sh, with the first line of the script being #! /bin/ash
And then report back, either here, or by mail.

####


Originally Posted by stevomanu View Post
finally got this working after reinstalling every thing all is working fine one thing i noticed i was sniffing on phone an was using pc an if i click on facebook it goes to white page with

Code:
location: ht
if i refresh page it works but surly some1 would realiz someting was wrong ..

thanks for all work on script to all involved
That comes from sslstrip 0.9, and there's nothing we can do about it, unfortunately. But the script is not at fault here !
__________________
http://comax.fr/
"I like to dissect girls. Did you know I am utterly insane ?"

Last edited by comaX; 2011-06-25 at 10:32.
 

The Following User Says Thank You to comaX For This Useful Post: