Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How to configure? How to compile? #10

Open
Jones-S opened this issue Nov 11, 2018 · 9 comments
Open

How to configure? How to compile? #10

Jones-S opened this issue Nov 11, 2018 · 9 comments

Comments

@Jones-S
Copy link

Jones-S commented Nov 11, 2018

Hi there
Sorry for the question, but I am struggling with getting this to work.

I got the brew installation but from there I'm stuck.
This has mainly to do with the next step:

2. Configure with correct paths:

./configure \
  --with-libpcap=/usr/local/opt/libpcap \
  --with-openssl=/usr/local/opt/openssl \
  --with-libnet=/usr/local/opt/libnet \
  --with-libnids=/usr/local/opt/libnids \
  --without-x

3. Compile:

make

4. Install:

make install

What do I want to configure and how do I do that?
Do I have to set the PATH of my shell?
I would not know any other than that.

Also the next steps don't really make sense to me. If I just type $ make I just get make: *** No targets specified and no makefile found. Stop.
I guess that the $ make command is to compile my application, but where is that makefile?

Sorry for the noobish questions, but maybe you could enlighten me a bit and maybe some other people having the same trouble could profit as well... 🤷‍♂️

Thanks

@Jones-S
Copy link
Author

Jones-S commented Nov 11, 2018

Ok sorry one thing I totally forgot obviously. I cloned your repo and opened it in the terminal.
I'm guessing that's where I have to compile it somehow. I still don't understand how to configure it though. Also $ make still would do nothing...

@Jones-S
Copy link
Author

Jones-S commented Nov 11, 2018

Ok I found more:
I had to enter the
$ ./configure \ command on its own and after that the five configuration lines. after that I could use $ make and $ make install.

Now I still don't know how to run a command included in dsniff.
Let's say I want to run $ arpspoof – how would I do that?

@Jones-S
Copy link
Author

Jones-S commented Nov 11, 2018

Ok. Sorry for the monologue. But maybe it helps another helpless person like me one day:
At first I could not use $ arpspoof.
In the terminal after the make install command I did see that something was linked to /usr/local/sbin so I thought it does not harm adding this path to my PATH export by adding :/usr/local/sbin

After restarting my terminal I can use the $ arpspoof command now.


I was also able to use $ urlsnarf, $ dsniff or $ filesnarf but when I use $ webspy it tells me again that the command is not found.
Do I have to change the PATH again? Or was this not installed?

@Jones-S Jones-S changed the title How to configure? How to configure? How to compile? Nov 11, 2018
@HudsonGraeme
Copy link

HudsonGraeme commented May 3, 2019

Ok. Sorry for the monologue. But maybe it helps another helpless person like me one day:
At first I could not use $ arpspoof.
In the terminal after the make install command I did see that something was linked to /usr/local/sbin so I thought it does not harm adding this path to my PATH export by adding :/usr/local/sbin

After restarting my terminal I can use the $ arpspoof command now.

I was also able to use $ urlsnarf, $ dsniff or $ filesnarf but when I use $ webspy it tells me again that the command is not found.
Do I have to change the PATH again? Or was this not installed?

Thank you - hours of poking around and your solution worked :) cheers
Do sudo nano /etc/paths, add /usr/local/sbin to permanently add this to path

@mrbluecoat
Copy link

Possible alternative: https://github.com/smikims/arpspoof

@cristmario2003
Copy link

Possible alternative: https://github.com/smikims/arpspoof

I tried to git clone it from here but after that i don't know what to do can you help me please.If i write arpspoof in the terminal it sais command not found

@mrbluecoat
Copy link

mrbluecoat commented Dec 30, 2019

@cristmario2003 you'll need to compile it from code. Try:

sudo apt install build-essential
make
make install

@cristmario2003
Copy link

@cristmario2003 you'll need to compile it from code. Try:

sudo apt install build-essential
make
make install
`

I am realy not used with linux and still don't know how to do it can you please explain step by step please?

@cristmario2003
Copy link

cristmario2003 commented Dec 30, 2019

And one more thing why sudo apt install command won't install anything? I tried to install many things and it won't ever work

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants