Notices


Reply
Thread Tools
Saturn's Avatar
Posts: 1,648 | Thanked: 2,122 times | Joined on Mar 2007 @ UNKLE's Never Never Land
#151
Originally Posted by Chrome View Post
Works fine with ash actually, but it shows this error after "You can discover hosts and enter IP(s) manually by entering D

Code:
ash: D: unknown operand
Hi comaX,

to correct those errors you need for example in line 79:

Code:
if [[ $(grep "0" ./test.txt) == "" ]]; then
the following:
Code:
if [[ "$(grep "0" ./test.txt)" == "" ]]; then
that is "$(blabla)" type of thing.

You have this in many ifs but not everywhere and ash is strict about (bash can handle those).

Last edited by Saturn; 2011-06-25 at 11:52. Reason: more understantable info
 

The Following User Says Thank You to Saturn For This Useful Post:
Posts: 11 | Thanked: 2 times | Joined on Jun 2007
#152
Originally Posted by stevomanu View Post
i had this issue an reinstalled ettercap from these instructions an now all is working fine

Code:
http://talk.maemo.org/showpost.php?p=852862&postcount=17
now all works mint
coolz, that worked. thanks.
 

The Following User Says Thank You to bass800 For This Useful Post:
Posts: 529 | Thanked: 194 times | Joined on Aug 2010 @ UK
#153
Originally Posted by bass800 View Post
coolz, that worked. thanks.
no problem any time , cant i suggest next time use THANKS button it saves on loads of thank you posts ..
__________________
METASPLOIT INSTALL N900
Keep the forums clean
Dont forget to say thanks
 
Posts: 111 | Thanked: 86 times | Joined on Jan 2010 @ Plovdiv, Bulgaria
#154
That is what happens when you have 5 different ettercap ports with 5 different places that it shits its files to... Can someone say where is ettercap placed from the karam installation?

EDIT:
Obviously if you are sure ettercap is installed ignore the dependency warning. Gotta update the script to search in multiple locations due to the explanation above.
__________________
http://pcsci3nce.info

Last edited by Unhuman; 2011-06-25 at 13:50.
 
Posts: 83 | Thanked: 142 times | Joined on Jun 2011 @ Paris, France
#155
Originally Posted by Saturn View Post
Hi comaX,

to correct those errors you need for example in line 79:

Code:
if [[ $(grep "0" ./test.txt) == "" ]]; then
the following:
Code:
if [[ "$(grep "0" ./test.txt)" == "" ]]; then
that is "$(blabla)" type of thing.

You have this in many ifs but not everywhere and ash is strict about (bash can handle those).
Yeah, I noticed ash is pretty strict ! But also pretty cool on some point, especially echo, for instance.
I'm working on all those operand errors, but as I said earlier, I'm in the middle of a moving out, so it might take some time !

Also, now that the dependencies check works in ash, I'll introduce looking for different paths
How should the script react to a missing dependency ? Just a warning ? Exiting ?
__________________
http://comax.fr/
"I like to dissect girls. Did you know I am utterly insane ?"
 

The Following User Says Thank You to comaX For This Useful Post:
Posts: 115 | Thanked: 22 times | Joined on Feb 2010 @ Mexico
#156
Do you guys know why am I getting :
Warning : Cannot convert string "nil2" to type Fontstruct
 
Posts: 83 | Thanked: 142 times | Joined on Jun 2011 @ Paris, France
#157
Originally Posted by badstraw View Post
Do you guys know why am I getting :
Warning : Cannot convert string "nil2" to type Fontstruct
Just discard this error, it's just some font stuff. If you tell me the line the error comes at, I'll try to fix it !
__________________
http://comax.fr/
"I like to dissect girls. Did you know I am utterly insane ?"
 
Saturn's Avatar
Posts: 1,648 | Thanked: 2,122 times | Joined on Mar 2007 @ UNKLE's Never Never Land
#158
Hi comaX and Unhuman,

I think this removes bash dependencies. Have added also tabs here and there for me to read it easier.

Hope you find it useful.

Note: Haven't tested it much.
Attached Files
File Type: txt mitm_pcsci3nce.txt (17.9 KB, 178 views)
 

The Following 4 Users Say Thank You to Saturn For This Useful Post:
Chrome's Avatar
Posts: 349 | Thanked: 309 times | Joined on Feb 2010 @ PS/IL
#159
Originally Posted by Saturn View Post
Hi comaX and Unhuman,

I think this removes bash dependencies. Have added also tabs here and there for me to read it easier.

Hope you find it useful.

Note: Haven't tested it much.
Operand errors are gone now. I let it run for 5 minutes, and got no errors whatsoever.

On a side note: xterm really annoys me, font is small, and you can't copy directly from it

Edit: after 10 minutes of running device crashed and restarted. This never happened with the previous scripts.

Last edited by Chrome; 2011-06-25 at 16:06.
 
Posts: 83 | Thanked: 142 times | Joined on Jun 2011 @ Paris, France
#160
Originally Posted by Chrome View Post
Operand errors are gone now. I let it run for 5 minutes, and got no errors whatsoever.

On a side note: xterm really annoys me, font is small, and you can't copy directly from it

Edit: after 10 minutes of running device crashed and restarted. This never happened with the previous scripts.
Nice to report on Saturn's version. On each echo line, is the argument printed ? Because I had to remove them all with my version of ash...
Xterm is a secondary problem dude, just copy from the .pass.txt for now ^^ I promise I'll try and make it through with osso when I have the time

The fact that you device crash is not surprising ! The parsing method is very CPU-consuming (working on something about that, btw ; but I'm having a hard time !). What I can suggest is that you go to the RTP menu, and pause or kill the process for some time.

Could you provide me with screenshots of Saturn's version please ? That may help me a great lot !

Thanks to you both
__________________
http://comax.fr/
"I like to dissect girls. Did you know I am utterly insane ?"
 

The Following 4 Users Say Thank You to comaX For This Useful Post:
Reply

Tags
pentesting, tester of pens


 
Forum Jump


All times are GMT. The time now is 14:35.