User Controls

Heard you kids are into port scanning

  1. #1
    TreyGowdy Houston
    This is my implementation in C. It does a full connect scan which I read isn't the stealthiest, but it works.

    The subnet library is a nifty way to do the bitwise ip logic although it's not great because I assemble a big endian bit string for the ip, but the architecture might not interpret it the same way. I'm on a little endian (intel) and it works. If you have a big endian machine you should let me know if it does or doesn't (I'll spin up a VM eventually too). I might need to explicitly test for endianess.

    Trying to make sense of how I assemble the string, then how the architecture will interpret it, and then how the network structs will interpret that... making my head hurt. I just know I switch the endianess before sticking it into the addr struct.

    https://github.com/shatwofiftysix/host-scan

    edit: fuck it just look at the code on github

    Post last edited by TreyGowdy at 2017-01-29T21:52:48.916741+00:00
  2. #2
    Sophie Pedophile Tech Support
    Hey Trey, welcome to the forum. We are into a lot of mischief including port scanning. Thank you for sharing your program. I like the way you write C, very readable.

    Also, i know you from github. ( ͡° ͜ʖ ͡°)

  3. #3
    SBTlauien African Astronaut
    Is this another agent?
  4. #4
    TreyGowdy Houston
    Originally posted by Sophie Hey Trey, welcome to the forum. We are into a lot of mischief including port scanning. Thank you for sharing your program. I like the way you write C, very readable.

    Also, i know you from github. ( ͡° ͜ʖ ͡°)

    I'm glad to hear. And yes I'm not new, just a name reset ;)
  5. #5
    TreyGowdy Houston
    Originally posted by SBTlauien Is this another agent?

    Nope just a Congressman.
  6. #6
    Sophie Pedophile Tech Support
    Originally posted by TreyGowdy I'm glad to hear. And yes I'm not new, just a name reset ;)



    obseg
Jump to Top