[REL] [SOURCE] [VB.NET] [Packetlogger] N++ [REL]

Page 1 of 2 12 LastLast
Results 1 to 25 of 38
  1. #1
    Thanks for the memories! Nillus is offline
    MemberRank
    Feb 2007 Join Date
    The NetherlandsLocation
    2,627Posts

    [REL] [SOURCE] [VB.NET] [Packetlogger] N++ [REL]

    Yeah I planned to make a packetlogger and I kinda succeded in it, it's called N++ because it was made by Nillus and NGangsta which means N+N = N + another one = N++.

    Works nice, except for some reason it doesn't want to print the log in the textbox (while it does Msgbox it), and in the line under it I have txtLog.AppendText(THELOGSTUFF) but it simply won't write.
    Probably something I don't know and it shouldn't be hard to solve, I guess it has to do with the fact that the data arrival sub is asynchronous and I'm calling back to a form from it. (have to invoke it first?)

    So, if you fix the 'write stuff in textbox' bug it's a nice packetlogger.
    Hop to Coders Paradise with it or something, I stick to WPE again for now.
    Please release it when you've fixed it or something, since the current packetloggers suck imo.

    SCREENSHOT:
    None, it's just something I made on an evening, it's just a source code for VB.NET.
    Also, I don't think I have to post a virus scan result, it's clean, if you don't believe it, don't download it.

    DOWNLOAD:
    RapidShare: 1-Click Webhosting

    It does not contain a compiled one, nor it does have a decent GUI, so just download it if you know VB.NET.
    Oh yeh it's from scratch ofcourse. =]

    Please credit me if you do something else with it, but, better fix that tiny bug and release it. xD

    Rolls'
    Nillus


  2. #2
    The Legend Returns vista4life is offline
    MemberRank
    Mar 2007 Join Date
    The NetherlandsLocation
    843Posts

    Re: [REL] [SOURCE] [VB.NET] [Packetlogger] N++ [REL]

    a other big job from nillus good release thanks

  3. #3
    The Omega Superfun is offline
    MemberRank
    Dec 2006 Join Date
    The NetherlandsLocation
    5,223Posts

    Re: [REL] [SOURCE] [VB.NET] [Packetlogger] N++ [REL]

    Thanks

  4. #4
    Account Upgraded | Title Enabled! Ivan66 is offline
    MemberRank
    Apr 2007 Join Date
    Barcelona (Spain)Location
    603Posts

    Re: [REL] [SOURCE] [VB.NET] [Packetlogger] N++ [REL]

    Yeah another , thx^^

  5. #5
    Instanthost.org username is offline
    MemberRank
    Oct 2007 Join Date
    Hull, EnglandLocation
    1,163Posts

    Re: [REL] [SOURCE] [VB.NET] [Packetlogger] N++ [REL]

    Nice on ;) TY :>

  6. #6
    Account Upgraded | Title Enabled! cotye is offline
    MemberRank
    Mar 2007 Join Date
    in ur comp giviLocation
    332Posts

    Re: [REL] [SOURCE] [VB.NET] [Packetlogger] N++ [REL]

    -foresees this being put into future scripting programs-
    I didn't download it, but it sounds cool :P

  7. #7
    Account Upgraded | Title Enabled! sPLAZE is offline
    MemberRank
    May 2007 Join Date
    .Location
    1,496Posts

    Re: [REL] [SOURCE] [VB.NET] [Packetlogger] N++ [REL]

    finally thx alot

  8. #8
    Account Upgraded | Title Enabled! saddiqiqbal is offline
    MemberRank
    Aug 2007 Join Date
    Germany >> HamburgLocation
    498Posts

    Re: [REL] [SOURCE] [VB.NET] [Packetlogger] N++ [REL]

    nice matee ...

    Regards
    ^^

  9. #9
    Account Upgraded | Title Enabled! PunkLessons is offline
    MemberRank
    Jan 2008 Join Date
    Close to you!Location
    586Posts

    Re: [REL] [SOURCE] [VB.NET] [Packetlogger] N++ [REL]

    Make it In Vb6 :)

    I dont Know vb.net :(

    But very nice release ill take a look

  10. #10
    Valued Member papawonka is offline
    MemberRank
    Mar 2007 Join Date
    Ontario, CanadaLocation
    148Posts

    Re: [REL] [SOURCE] [VB.NET] [Packetlogger] N++ [REL]

    Thanks for another great program. Loving that its in a newer version of vb too.

    'Argg-ing' @ school,
    PaPaWoNkA

    EDIT: I went through most of it and it looks good.
    I didn't see where you called your logging subs tho (I zoomed through).
    Last edited by papawonka; 02-03-08 at 09:43 PM. Reason: /

  11. #11
    Ima Xplicit Gamer :.:Bob1:.: is offline
    MemberRank
    Feb 2007 Join Date
    London - EnglandLocation
    1,073Posts

    Re: [REL] [SOURCE] [VB.NET] [Packetlogger] N++ [REL]

    Quote Originally Posted by PunkLessons View Post
    Make it In Vb6 :)

    I dont Know vb.net :(

    But very nice release ill take a look
    Why cant YOU make one in VB6? :P

    Nice rel "N ++" xD

  12. #12
    Been here for 1 year. ☆ MatthewRulz is offline
    MemberRank
    Sep 2007 Join Date
    Melbourne, AUS.Location
    786Posts

    Re: [REL] [SOURCE] [VB.NET] [Packetlogger] N++ [REL]

    Nice, I would download it if I was at home where I have VB.NET Installed on my laptop...

    *Hurry up mum and dad get home!* :P

    Thanks,
    MatthewRulz!

  13. #13
    pork pork Parker is offline
    MemberRank
    Dec 2007 Join Date
    new holland.Location
    5,873Posts

    Re: [REL] [SOURCE] [VB.NET] [Packetlogger] N++ [REL]

    Why cant YOU make one in VB6? :P
    Because he knows how to add a couple of commands to a server and that's all :ninja:

    People on IM have been asking why this error occurs
    Code:
    My.Computer.FileSystem.WriteAllText(hostFileLocation, hostMod, True)
    It's because your privileges mode isn't good enough to access C:\

    Thought I may make it public in case others are stuck on the error.

  14. #14
    Thanks for the memories! Nillus is offline
    MemberRank
    Feb 2007 Join Date
    The NetherlandsLocation
    2,627Posts

    Re: [REL] [SOURCE] [VB.NET] [Packetlogger] N++ [REL]

    Quote Originally Posted by Parker View Post
    Because he knows how to add a couple of commands to a server and that's all :ninja:

    People on IM have been asking why this error occurs
    It's because your privileges mode isn't good enough to access C:\

    Thought I may make it public in case others are stuck on the error.
    Hmm true yeah, it needs to temporarily modify the host file to make the client connect to localhost without modifying the loader, and you require administrator rights for that on Windows. =S

    Rolls'
    Nillus

  15. #15
    Alpha Member Moogly is offline
    MemberRank
    Feb 2008 Join Date
    Pool LidoLocation
    2,322Posts

    Re: [REL] [SOURCE] [VB.NET] [Packetlogger] N++ [REL]

    Quote Originally Posted by Nillus View Post
    Hmm true yeah, it needs to temporarily modify the host file to make the client connect to localhost without modifying the loader, and you require administrator rights for that on Windows. =S

    Rolls'
    Nillus
    This goes to show you that mostly little kids use retros XD cause if they don't ahve administrative rights then its kinda obvious their parents do ;P anyways just the 1st thought that came to mind when I read that lol and most of the people I meet on here are like 3 - 5 years younger >_> anyways nice packetlogger thanks for yet another contribution to our community ;P

  16. #16
    Proficient Member EcKO is offline
    MemberRank
    Oct 2007 Join Date
    Hotel AtlantaLocation
    153Posts

    Re: [REL] [SOURCE] [VB.NET] [Packetlogger] N++ [REL]

    the prog. damn slow and when i close it it comes back o.o i must close it with taskmanager.

    Nero

  17. #17
    Thanks for the memories! Nillus is offline
    MemberRank
    Feb 2007 Join Date
    The NetherlandsLocation
    2,627Posts

    Re: [REL] [SOURCE] [VB.NET] [Packetlogger] N++ [REL]

    Quote Originally Posted by EcKO View Post
    the prog. damn slow and when i close it it comes back o.o i must close it with taskmanager.

    Nero
    Yeah seems I'm doing something wrong with writing in the textbox (yeah I did an attempt on it when I receive @@&01), I'm doing it like VB6, since I haven't done stuff with GUI's in VB.NET. (I don't care about GUI's tbh)

    So yeah up to you how to find out to do textboxes proper in VB.NET, the connection stuff and w/e is done nicely. (async sockets)

    Rolls'
    Nillus

  18. #18
    Alpha Member casjebasje is offline
    MemberRank
    Apr 2007 Join Date
    Tilburg, The NetherlandsLocation
    1,416Posts

    Re: [REL] [SOURCE] [VB.NET] [Packetlogger] N++ [REL]

    Come on, guys.
    Don't expect Nillus can do everything in one time.
    He is just a human.

    anyway, nice [again?]

  19. #19
    Account Upgraded | Title Enabled! Jeax is offline
    MemberRank
    Jul 2007 Join Date
    Kent, UKLocation
    1,013Posts

    Re: [REL] [SOURCE] [VB.NET] [Packetlogger] N++ [REL]

    Quote Originally Posted by Nillus View Post
    Works nice, except for some reason it doesn't want to print the log in the textbox (while it does Msgbox it), and in the line under it I have txtLog.AppendText(THELOGSTUFF) but it simply won't write.
    Probably something I don't know and it shouldn't be hard to solve, I guess it has to do with the fact that the data arrival sub is asynchronous and I'm calling back to a form from it. (have to invoke it first?)
    I haven't downloaded the source, so i don't know if im right (But i probably am)

    The reason it wont access a textbox is because your accessing it from another thread (If your using Asynchronous sockets - This is definitely the case)

    There are a few quick solutions you can do, Either simply write it to a text file rather than to an actual textbox on your Form

    OR use the invoke method

    For example.. (C#)

    Code:
           internal delegate void A2L(string Txt);
            internal void AddToLog(string Text)
            {
                if(this.InvokeRequired)
                    this.Invoke(new A2L(AddToLog),Text);
                else
                {
                    TxtLog.AppendText(Text);
                }
            }
    Because you're accessing it from a separate thread it can't modify it properly and so an invoke is required.

    Edit: And i'm guessing the reason it wont close is because your not Closing every form? (Or when they hit the X button your threads are still running - sockets etc)

    just put this inside your 'Form Closing' event
    System.Environment.Exit(0);

    (If you don't know how to add events (Idk if you have to do this in VB.NET) but simply go to the form designer class
    (Called FormName.Designer.cs)

    And then scroll down to where its normally like
    this.Load += new System.EventHandler(this.Form1_Load);

    And shove in
    this.FormClosing += new System.EventHandler(this.Form_Closing);

    for example (Form_Closing) being the name of the method you've already created.

    ~ Jeax

  20. #20
    Apprentice jared.stratton is offline
    MemberRank
    Feb 2008 Join Date
    9Posts

    Re: [REL] [SOURCE] [VB.NET] [Packetlogger] N++ [REL]

    As Some Have Said Before: Another Great Release From Nillus! :) LOL.

    Great Job/Release.

  21. #21
    Valued Member gilipoyas is offline
    MemberRank
    Jan 2005 Join Date
    SpainLocation
    139Posts

    Re: [REL] [SOURCE] [VB.NET] [Packetlogger] N++ [REL]

    Quote Originally Posted by Nillus View Post
    Works nice, except for some reason it doesn't want to print the log in the textbox (while it does Msgbox it), and in the line under it I have txtLog.AppendText(THELOGSTUFF) but it simply won't write.
    Probably something I don't know and it shouldn't be hard to solve, I guess it has to do with the fact that the data arrival sub is asynchronous and I'm calling back to a form from it. (have to invoke it first?)
    Maybe data is printed but you can't see it. AppendText function doesn't include backspace (vbCrLf). Try with txtLog.AppendText(vbCrLf & THELOGSTUFF) or with txtLog.Text = txtLog.Text & vbCrlf & THELOGSTUFF.
    Don't forget add txtLog.SelectionStart = Len(txtLog.Text) after, to show always last data.
    Make sure that txtLog multiline property it's true and add scrollbars.

    I downloaded source code but my VB.Net is too old and can't open it >.<!

  22. #22
    Alpha Member Hammad is offline
    MemberRank
    May 2007 Join Date
    Great BritainLocation
    1,997Posts

    Re: [REL] [SOURCE] [VB.NET] [Packetlogger] N++ [REL]

    VB.NET sux balls.
    The only exception I would have, is that it is similar to C#, meaning you can learn from it.
    Only, it doesn't use semicolons, and parenthesis.

  23. #23
    Account Upgraded | Title Enabled! Schfoo is offline
    MemberRank
    May 2007 Join Date
    Georgia, USLocation
    746Posts

    Re: [REL] [SOURCE] [VB.NET] [Packetlogger] N++ [REL]

    Quote Originally Posted by -Hammad- View Post
    VB.NET sux balls.
    The only exception I would have, is that it is similar to C#, meaning you can learn from it.
    Only, it doesn't use semicolons, and parenthesis.
    You say it sucks, but you don't back it up at all. So basically you just posted your opinion on it. Thanks for the spam =]

    Does anyone know how exactly to fix this?
    I read somewhere up above that you had to call some function to call the packets to another thread.

  24. #24
    Account Upgraded | Title Enabled! RascaL is offline
    MemberRank
    Jan 2008 Join Date
    England -.-Location
    1,089Posts

    Re: [REL] [SOURCE] [VB.NET] [Packetlogger] N++ [REL]

    Nice

    Compile plz =]

    I don't have VB.NET

    Cya,
    RascaL

  25. #25
    Account Upgraded | Title Enabled! Schfoo is offline
    MemberRank
    May 2007 Join Date
    Georgia, USLocation
    746Posts

    Re: [REL] [SOURCE] [VB.NET] [Packetlogger] N++ [REL]

    Quote Originally Posted by RascaL View Post
    Nice

    Compile plz =]

    I don't have VB.NET

    Cya,
    RascaL
    Theres a compilation in the download. Whatever good it'll do for you, it doesn't show the packets.



Page 1 of 2 12 LastLast

Advertisement