CastleCops, Internet Crime Fighters
Need help? Click here to register for free! Absolutely zero advertisements on this site!

$9736.22 of $21422.68
left sidedonated so farneed $11686.46 donated to reach our goalright side, our goal
Help CastleCops serve the community on new servers, Donate Here to reach our goal.

Donation/Premium
spacer
block bottom
Security Central
spacer
· Home
· PIRT/Fried Phish
· MIRT
· SIRT
· Deutsch
· Wiki
· Newsletter
· O16/ActiveX
· CLSID List
· Contest2007
· Downloads
· Feedback (send)
· Forums
· HijackThis
· Hijacktrend
· LSPs
· My Downloads
· O18
· O20
· O21
· O22
· O23
· O9
· Premium
· Private Messages
· Proxomitron
· Reviews
· Search
· StartupList
· Stories Archive
· Submit News
· WsIRT
· Your Account
· Acceptable Use Policy
block bottom
Survey
spacer
Was 2007 a good year?

Yes it was a wonderful year
Yes, but there is always room for improvement
Status quo
It was a challenge
Other (leave comment)



Results
Polls

Votes: 937
Comments: 25
block bottom
spacer spacer

knujon gmail reporting script
Goto page 1, 2, 3, 4, 5 ... 12, 13, 14  Next
 
Post new topic   Reply to topic       All -> FavForums -> Knujon General Discussion [del.icio.us!] [digg it!] [reddit!]
View previous topic :: View next topic  
Author Message
rainwolf

Sergeant
Sergeant


Joined: May 18, 2006
Posts: 81


PostPosted: Tue Oct 10, 2006 12:07 pm    Post subject: knujon gmail reporting script
Reply with quote

hi,

I created a little script in python using libgmail to make our gmail spam reporting duties to knujon a bit more comfortable.
Anyone interested can grab it at http://www.submanifold.be in the misc section. Feel free to comment, here or per email.

have fun,
wal

Back to top
View users profile Send private message Visit posters website
Knujon

Captain
Captain
Premium Member

Joined: May 25, 2006
Posts: 584
Location: USA
Premium

PostPosted: Tue Oct 10, 2006 8:08 pm    Post subject:
Reply with quote

Awesome. Will post it on site.

Back to top
View users profile Send private message Visit posters website
pwillener

SRT Trainee
SRT Trainee
Premium Member

Joined: Apr 17, 2006
Posts: 1721
Location: Japan
Premium

PostPosted: Wed Oct 18, 2006 8:27 am    Post subject:
Reply with quote

Hi,

I have used Thunderbird with the Knujon add-in in the past to forward spam. This has somehow stopped working this week - it is no longer logging on to Gmail successfully, however many times I enter the correct password.

So, I thought I try this one. Unfortunately the instructions are a bit vague...

1) I have downloaded and installed Python 2.5 (Windows XP).

2) I have downloaded and extracted libgmail (into the Python25 folder).

3) I have downloaded and extracted gknujon (into the Python25 folder).

Now what do I do? I have been able to run libgmail and logging into my Gmail account. But I have no idea how to run gknujon.py? When I try to run it the same way as libgmail.py I get error 'Login failed. (Wrong uname/password?)'.

Thanks,
Pat

Back to top
View users profile Send private message Visit posters website
pwillener

SRT Trainee
SRT Trainee
Premium Member

Joined: Apr 17, 2006
Posts: 1721
Location: Japan
Premium

PostPosted: Wed Oct 18, 2006 8:35 am    Post subject:
Reply with quote

Ah - README.txt: "Don't forget to replace yourusername@gmail.com and yourpassword with the correct data, and you 're all set."

Ok, done that. Now when I run it, it says

Quote:
downloading spam messages...
-- Summary : 0 spam messages reported to knujon
Press Enter to continue...

But there is lots of spam in my Gmail 'Spam' folder.

Back to top
View users profile Send private message Visit posters website
pwillener

SRT Trainee
SRT Trainee
Premium Member

Joined: Apr 17, 2006
Posts: 1721
Location: Japan
Premium

PostPosted: Wed Oct 18, 2006 8:50 am    Post subject:
Reply with quote

All clear now! Very Happy The messages in the 'Spam' folder must be marked unread (they were marked as read due to my previous playing with libgmail).

Thanks for a great tool!


Next question: is there a way to separate the messages that go to the knujon and the stockjunk addresses? Actually I could control it with the read/unread marks. But where can I specify where the messages are reported to?

[Edit] I have copied the script (to gstockjunk.py) and changed the 'to' variable to the stockjunk reporting address.

Back to top
View users profile Send private message Visit posters website
rainwolf

Sergeant
Sergeant


Joined: May 18, 2006
Posts: 81


PostPosted: Wed Oct 18, 2006 8:57 am    Post subject:
Reply with quote

pwillener wrote:
But where can I specify where the messages are reported to?

The TO-address is on line 20.
careful though, due to a bug in libgmail I couldn't attach the spam's as .eml files, hope your other reporting address takes the spams as textfiles.

have fun,
wal

Back to top
View users profile Send private message Visit posters website
Knujon

Captain
Captain
Premium Member

Joined: May 25, 2006
Posts: 584
Location: USA
Premium

PostPosted: Wed Oct 18, 2006 1:56 pm    Post subject:
Reply with quote

Thanks everyone!

Back to top
View users profile Send private message Visit posters website
pwillener

SRT Trainee
SRT Trainee
Premium Member

Joined: Apr 17, 2006
Posts: 1721
Location: Japan
Premium

PostPosted: Thu Oct 19, 2006 2:52 am    Post subject:
Reply with quote

rainwolf wrote:
careful though, due to a bug in libgmail I couldn't attach the spam's as .eml files, hope your other reporting address takes the spams as textfiles.

The other reporting address goes to the same domain, with 'stockjunk' instead of 'knujon' before the @ mark. So there should be no problem (except that they seem to be forwarded to other addresses).

Will you eventually fix the 'txt' vs. 'eml' bug?

Back to top
View users profile Send private message Visit posters website
rainwolf

Sergeant
Sergeant


Joined: May 18, 2006
Posts: 81


PostPosted: Thu Oct 19, 2006 7:21 am    Post subject:
Reply with quote

pwillener wrote:

Will you eventually fix the 'txt' vs. 'eml' bug?

Definitely, but it's not up to me as it's a bug in libgmail.
So I 'm basically waiting for them to fix the bug Smile

have fun,
wal

Back to top
View users profile Send private message Visit posters website
pwillener

SRT Trainee
SRT Trainee
Premium Member

Joined: Apr 17, 2006
Posts: 1721
Location: Japan
Premium

PostPosted: Mon Oct 23, 2006 6:05 am    Post subject:
Reply with quote

Ah, sorry - I somehow thought that libgmail was also yours. But as long as Knujon accepts the txt messages, no problem for me, anyway Cool

Back to top
View users profile Send private message Visit posters website
pwillener

SRT Trainee
SRT Trainee
Premium Member

Joined: Apr 17, 2006
Posts: 1721
Location: Japan
Premium

PostPosted: Tue Oct 24, 2006 8:00 am    Post subject:
Reply with quote

I just submitted another two batches to knujon and stockjunk, and it got me thinking...

The stockjunk spams usually just contain an image, together with some random text. If this is submitted in txt form, how will the recipient(s) receive the images? Will the image just be inserted into the text as hexadecimal stream?

If this is the case, the recipient(s) (.e.g the SEC) will not be able to look at the image to identify the stock that is being manipulated.

Back to top
View users profile Send private message Visit posters website
rainwolf

Sergeant
Sergeant


Joined: May 18, 2006
Posts: 81


PostPosted: Tue Oct 24, 2006 12:41 pm    Post subject:
Reply with quote

knuj0n doesn't have a problem with this, and you yourself can view the messages/images by changing the extension to .eml .
I would check with the other instances you 're reporting to. If the mail becomes useless to them, then I 'm afraid I can't help you, it's a matter of waiting until libgmail fixes that bug. But I have a hunch it's not an issue, especially if their committed to fighting this type of spam.

wal

Back to top
View users profile Send private message Visit posters website
pwillener

SRT Trainee
SRT Trainee
Premium Member

Joined: Apr 17, 2006
Posts: 1721
Location: Japan
Premium

PostPosted: Thu Oct 26, 2006 2:40 am    Post subject:
Reply with quote

I personally don't forward the messages to anyone else, but the knujon stockjunk address seems to forward them to a number of places. I do not know if they can actually use it in that form.

Back to top
View users profile Send private message Visit posters website
rainwolf

Sergeant
Sergeant


Joined: May 18, 2006
Posts: 81


PostPosted: Thu Oct 26, 2006 8:11 am    Post subject:
Reply with quote

dude,

the knuj0n said this and this.
don't worry, worry leads to wasting time, wasting time leads to the spam-way_of_life.

Back to top
View users profile Send private message Visit posters website
RoseDreamJ

Trooper
Trooper
Premium Member

Joined: Oct 18, 2006
Posts: 22

Premium

PostPosted: Thu Oct 26, 2006 1:53 pm    Post subject:
Reply with quote

rainwolf wrote:
don't worry, worry leads to wasting time, wasting time leads to the spam-way_of_life.


Well said! I needed that. I'm going to remind myself of this quote often.


_________________
--
James Senick
Back to top
View users profile Send private message Visit posters website
Display posts from previous:   
Post new topic   Reply to topic       All -> FavForums -> Knujon General Discussion All times are GMT
Goto page 1, 2, 3, 4, 5 ... 12, 13, 14  Next
Page 1 of 14

 
Quick Reply:
Username: 

Quote the last message
Attach signature (signatures can be changed in profile)
 
You can post new topics in this forum
You can reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum


Powered by phpBB © 2001 phpBB Group
spacer spacer