All that is necessary for evil to succeed is that good people do nothing! Support Act for America

Raw Sockets for ARP - Anarchist Cookbook
Anarchist Cookbook  

Go Back   Anarchist Cookbook > Anarchist Cookbook > Hacking > Programming

Programming Got code?

Reply
 
Thread Tools Search this Thread Display Modes
Old January 13th, 2009   #1
gray_hat
Junior Member
Points: 298, Level: 5
Points: 298, Level: 5 Points: 298, Level: 5 Points: 298, Level: 5
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
 

Last Online: May 27th, 2009 07:57 AM
Join Date: Jan 2009
Posts: 16
Cash Credits: 434
gray_hat RSS Feed
Raw Sockets for ARP

I have been planning to code an ARP poisoner in C soon but I still need to do more research with raw socket/network layer programming in C. However I haven't found a suitable location for the right information. Could anyone provide me a linky with content that I would find useful?

I already know everything about how ARP works and how ARP caches are poisoned but I am lacking in how to do this in C code. That's why I am posting in the programming forum rather than hacking. I have also programmed some with raw sockets before to make a simple SYN flooder but that's not that bad.

Thanks in advance for any help.
gray_hat is offline   Reply With Quote
Old January 13th, 2009   #2
DoG MikkyW
Senior Member
Points: 3,476, Level: 24
Points: 3,476, Level: 24 Points: 3,476, Level: 24 Points: 3,476, Level: 24
Activity: 54%
Activity: 54% Activity: 54% Activity: 54%
 
DoG MikkyW's Avatar
 

Last Online: 1 Hour Ago 11:56 AM
Join Date: Mar 2008
Location: Florida
Age: 21
Posts: 1,000
Cash Credits: 13,699
DoG MikkyW RSS Feed
Send a message via ICQ to DoG MikkyW Send a message via AIM to DoG MikkyW Send a message via MSN to DoG MikkyW Send a message via Yahoo to DoG MikkyW
I can't help you seeing as this is beyond the scopes of my ability. However, I do know that the senior members like to see what effort, no matter how little, you have put in towards your current code. So just put your code on here, or pastebin.com it, and I'm sure someone would be glad to help you.
DoG MikkyW is offline   Reply With Quote
Old January 14th, 2009   #3
DoG MikkyW
Senior Member
Points: 3,476, Level: 24
Points: 3,476, Level: 24 Points: 3,476, Level: 24 Points: 3,476, Level: 24
Activity: 54%
Activity: 54% Activity: 54% Activity: 54%
 
DoG MikkyW's Avatar
 

Last Online: 1 Hour Ago 11:56 AM
Join Date: Mar 2008
Location: Florida
Age: 21
Posts: 1,000
Cash Credits: 13,699
DoG MikkyW RSS Feed
Send a message via ICQ to DoG MikkyW Send a message via AIM to DoG MikkyW Send a message via MSN to DoG MikkyW Send a message via Yahoo to DoG MikkyW
Hmmm, you posted absolutely no reason why what I posted was wrong.
DoG MikkyW is offline   Reply With Quote
Old January 14th, 2009   #4
gray_hat
Junior Member
Points: 298, Level: 5
Points: 298, Level: 5 Points: 298, Level: 5 Points: 298, Level: 5
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
 

Last Online: May 27th, 2009 07:57 AM
Join Date: Jan 2009
Posts: 16
Cash Credits: 434
gray_hat RSS Feed
I was thinking the same thing. >_>
gray_hat is offline   Reply With Quote
Old January 14th, 2009   #5
ishkur88
Senior Member
Points: 5,313, Level: 31
Points: 5,313, Level: 31 Points: 5,313, Level: 31 Points: 5,313, Level: 31
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
 
ishkur88's Avatar
 

Last Online: 1 Day Ago 06:01 PM
Join Date: Nov 2006
Location: the internet.
Age: 25
Posts: 1,104
Cash Credits: 6,002
ishkur88 RSS Feed
Send a message via AIM to ishkur88 Send a message via MSN to ishkur88 Send a message via Yahoo to ishkur88
First of all, why are you using something like C/C++? With something like C, you waste so much time managing memory. Why not go with a dynamically typed language like Python or .... dare I even say Perl.

Built in networking support, and much less overhead in terms of complexity.

And as for a link to be provided for you, like a baby who needs his apple sauce... here you go; you lazy cunt.

__________________
I am not young enough to know everything.
ishkur88 is offline   Reply With Quote
Old January 14th, 2009   #6
gray_hat
Junior Member
Points: 298, Level: 5
Points: 298, Level: 5 Points: 298, Level: 5 Points: 298, Level: 5
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
 

Last Online: May 27th, 2009 07:57 AM
Join Date: Jan 2009
Posts: 16
Cash Credits: 434
gray_hat RSS Feed
Haha, ok. Nevermind then. I thought maybe somebody would have a specific link somewhere that has really helpful information for me. I finally found one myself though. But thanks anyway for giving me a useless link, (pretty much all I expected anyway...)

And also, I am doing it in C for the challenge. If I wanted it to be easy I would just download some program to do it for me.

I have noticed that around here, when someone tries to take the skiddie way out they are criticized yet when someone tries to actually learn something difficult they are told to search for methods much easier. Seems like some of the mods just like the feeling of being "all-powerful" with the ability to say anything they want because they can muhaha....
gray_hat is offline   Reply With Quote
Old January 14th, 2009   #7
ishkur88
Senior Member
Points: 5,313, Level: 31
Points: 5,313, Level: 31 Points: 5,313, Level: 31 Points: 5,313, Level: 31
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
 
ishkur88's Avatar
 

Last Online: 1 Day Ago 06:01 PM
Join Date: Nov 2006
Location: the internet.
Age: 25
Posts: 1,104
Cash Credits: 6,002
ishkur88 RSS Feed
Send a message via AIM to ishkur88 Send a message via MSN to ishkur88 Send a message via Yahoo to ishkur88
Quote:
Haha, ok. Nevermind then. I thought maybe somebody would have a specific link somewhere that has really helpful information for me. I finally found one myself though. But thanks anyway for giving me a useless link, (pretty much all I expected anyway...)

And also, I am doing it in C for the challenge. If I wanted it to be easy I would just download some program to do it for me.

I have noticed that around here, when someone tries to take the skiddie way out they are criticized yet when someone tries to actually learn something difficult they are told to search for methods much easier. Seems like some of the mods just like the feeling of being "all-powerful" with the ability to say anything they want because they can muhaha....
As I stated somewhere else, I say nothing different now than I normally would say. So this is really getting annoying; people claiming power abuse. Are you banned yet? Have I closed this thread? Have I threatened you in any way shape or form? No. So please, give it a rest. I equate this to calling someone a racist or a sexist in the event of having nothing better to say against them; which is wrong.

So. I deter noobish questions because they usually cause more problems than they're worth. If you get someone asking questions about something they have no clue on earth about (or have no business asking), then that tends to cause confusion on their part when I give them an answer.

I tell people with more advanced questions to research some more because if they're resourceful enough to have the question; they're probably also resourceful enough to find an answer.

Explain to me how a 2 second Google search for "sockets in C" is irrelevant to what you were looking for? Rather than have me go through all of the BS that is C/C++ to explain how to create a data stream to a remote host and use it in a program, I do what you should have done in the first place and Google'd it.

If that link I sent you didn't help you at all, please; for the sake of me knowing a better way to find information.. tell me how you found your mysterious link of wonders that has everything you needed. I'd love to see where that came from.
__________________
I am not young enough to know everything.
ishkur88 is offline   Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


All times are GMT -5. The time now is 01:55 PM.


Powered by Anarchy and vBulletin® Version 3.7.5
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
vBCredits v1.4 Copyright ©2007 - 2008, PixelFX Studios