-
[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
-
Re: [REL] [SOURCE] [VB.NET] [Packetlogger] N++ [REL]
a other big job from nillus good release thanks
-
Re: [REL] [SOURCE] [VB.NET] [Packetlogger] N++ [REL]
-
Re: [REL] [SOURCE] [VB.NET] [Packetlogger] N++ [REL]
-
Re: [REL] [SOURCE] [VB.NET] [Packetlogger] N++ [REL]
-
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
-
Re: [REL] [SOURCE] [VB.NET] [Packetlogger] N++ [REL]
-
Re: [REL] [SOURCE] [VB.NET] [Packetlogger] N++ [REL]
nice matee ...
Regards
^^
-
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
-
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).
-
Re: [REL] [SOURCE] [VB.NET] [Packetlogger] N++ [REL]
Quote:
Originally Posted by
PunkLessons
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
-
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!
-
Re: [REL] [SOURCE] [VB.NET] [Packetlogger] N++ [REL]
Quote:
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
Quote:
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.
-
Re: [REL] [SOURCE] [VB.NET] [Packetlogger] N++ [REL]
Quote:
Originally Posted by
Parker
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
-
Re: [REL] [SOURCE] [VB.NET] [Packetlogger] N++ [REL]
Quote:
Originally Posted by
Nillus
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
-
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
-
Re: [REL] [SOURCE] [VB.NET] [Packetlogger] N++ [REL]
Quote:
Originally Posted by
EcKO
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
-
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?]
-
Re: [REL] [SOURCE] [VB.NET] [Packetlogger] N++ [REL]
Quote:
Originally Posted by
Nillus
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
-
Re: [REL] [SOURCE] [VB.NET] [Packetlogger] N++ [REL]
As Some Have Said Before: Another Great Release From Nillus! :) LOL.
Great Job/Release.
-
Re: [REL] [SOURCE] [VB.NET] [Packetlogger] N++ [REL]
Quote:
Originally Posted by
Nillus
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 >.<!
-
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.
-
Re: [REL] [SOURCE] [VB.NET] [Packetlogger] N++ [REL]
Quote:
Originally Posted by
-Hammad-
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.
-
Re: [REL] [SOURCE] [VB.NET] [Packetlogger] N++ [REL]
Nice
Compile plz =]
I don't have VB.NET
Cya,
RascaL
-
Re: [REL] [SOURCE] [VB.NET] [Packetlogger] N++ [REL]
Quote:
Originally Posted by
RascaL
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.
-
Re: [REL] [SOURCE] [VB.NET] [Packetlogger] N++ [REL]
Very nice!
Waves,
Casjebasje
800 posts! :D
-
Re: [REL] [SOURCE] [VB.NET] [Packetlogger] N++ [REL]
Congrats on 800 posts Casjebasje ;]
Cya,
RascaL
-
Re: [REL] [SOURCE] [VB.NET] [Packetlogger] N++ [REL]
The above two posts were uncalled for xD
Both offtopic.
-
Re: [REL] [SOURCE] [VB.NET] [Packetlogger] N++ [REL]
Quote:
Originally Posted by
Schfoo
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.
You say I'm spamming?
I've seen over 20+ of your useless posts all over the Habbo section within the last few days.
Umm...
The connection on this is too slow.
Maybe try changing the connection interval to something else?
EDIT:
How come only half the form loads? (fixed)
EDIT 2:
Random disconnection, anybody?
- Hammad
-
Re: [REL] [SOURCE] [VB.NET] [Packetlogger] N++ [REL]
Don't open the e.xe for me:(
~ RascaL
-
Re: [REL] [SOURCE] [VB.NET] [Packetlogger] N++ [REL]
Have you got the .NET Framework 3.5?
You can download it here, if you have't already got it:
Download details: .NET Framework 3.5
- Hammad
-
Re: [REL] [SOURCE] [VB.NET] [Packetlogger] N++ [REL]
-
Re: [REL] [SOURCE] [VB.NET] [Packetlogger] N++ [REL]
Quote:
Originally Posted by
-Hammad-
Look people, this is an usefull post!
Highfive,
Casjebasje
-
Re: [REL] [SOURCE] [VB.NET] [Packetlogger] N++ [REL]
Nice release AGAIN Nillus =]
-
Re: [REL] [SOURCE] [VB.NET] [Packetlogger] N++ [REL]
Quote:
Originally Posted by
Herb
Nice release AGAIN Nillus =]
WTF?
You said that about 2 posts ago; stop spamming.
About N++, it gets messed up too easily.
I'm adding an easier navigation, and that splitter just needs to go. :eek6:
- Hammad
-
Re: [REL] [SOURCE] [VB.NET] [Packetlogger] N++ [REL]
thanx for this i like packetlogging ;)
-
Re: [REL] [SOURCE] [VB.NET] [Packetlogger] N++ [REL]
Habbo.com doesn't want to connect for me. If .com would work this would be a good program.
-
Re: [REL] [SOURCE] [VB.NET] [Packetlogger] N++ [REL]
Hmm...
I THINK I'm close to fixing the bug, only thing is, it displays the packetlog box, then gives a few packets, then it just disappears, then the whole application closes.
I think it's got something to do with the timer (tmrSOCK) I added. =S
- Hammad