• Welcome to Valhalla Legends Archive.
 
Menu

Show posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.

Show posts Menu

Messages - QwertyMonster

#1
I'm currently creating a chatbot for a chatroom which is run by flash. I've tried packet logging and seeing how it works, but I don't understand it fully. Could someone give me a tutorial or point me in the right direction?

Thanks.
#2
My friend makes £500 a day from it. I'm making only £200 a day at the moment.

Anyway I have found out why it keeps getting logged out. My bot logs in fine, but then the host changes from "fanbox.com" to "profile.fanbox.com" so I have to re-connect, thus causing me to lose connection.

Does anyone have any ideas on how to not lose connection but change who i'm connected to? =\ Changing the "Host: blah" doesn't work.
#3
Hey again. I've got another problem, sadly.

Okay, i'm making a simple bot for something called www.fanbox.com. My bot logs in fine with this code:


    pdata = "m=login&e=" & txtuser.text & "&z=" & txtpass.text & "&r=false"
    p = p & "POST /socnet/SignInSignUp.ashx HTTP/1.1" & vbCrLf
    p = p & "Host: www.fanbox.com" & vbCrLf
    p = p & "User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-GB; rv:1.8.1.20) Gecko/20081217 Firefox/2.0.0.20" & vbCrLf
    p = p & "Accept: text/javascript, text/html, application/xml, text/xml, */*" & vbCrLf
    p = p & "Accept-Language: en-us" & vbCrLf
    p = p & "Accept-Encoding: " & vbCrLf
    p = p & "Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.7" & vbCrLf
    p = p & "Keep-Alive: 300" & vbCrLf
    p = p & "Connection: keep-alive" & vbCrLf
    p = p & "Content-Type: application/x-www-form-urlencoded" & vbCrLf
    p = p & "Referer: http://www.fanbox.com/" & vbCrLf
    p = p & "Content-Length: " & Len(pdata) & vbCrLf
    p = p & "Cookie: " & vbCrLf & vbCrLf
    p = p & pdata
    sckTest.SendData p


And the response I get is "success". So right now, I *should* logged in. I then send a GET in the Data_Arrival, only to find out the connection has been lost and nothing happens. So a way around that was to make another winsock connect in the data_arrival of the first winsock. I extracted all the "Set-Cookie: " into a listbox for easier and use, and used it like so.

I send this:


    a = a & "GET /socnet/Desktop.aspx?src=logout&r=933808 HTTP/1.1" & vbCrLf
    a = a & "Host: profile.fanbox.com" & vbCrLf
    a = a & "User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-GB; rv:1.8.1.20) Gecko/20081217 Firefox/2.0.0.20" & vbCrLf
    a = a & "Accept: text/xml,application/xml,application/xhtml+xml,text/html;q=0.9,text/plain;q=0.8,image/png,*/*;q=0.5" & vbCrLf
    a = a & "Accept-Language: en-us" & vbCrLf
    a = a & "Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.7" & vbCrLf
    a = a & "Keep-Alive: 300" & vbCrLf
    a = a & "Connection: close" & vbCrLf
    a = a & "Cookie: " & List1.List(0) & "; " & List1.List(1) & "; " & List1.List(2) & "; " & List1.List(3) & "; " & List1.List(4) & "; " & List1.List(5) & "; " & List1.List(6) & vbCrLf & vbCrLf


That is what is sent next when you have successfully logged into FanBox. (I packet logged it). I get a dump of HTML. For debug purposes I save it into a .html file and view it. It says i'm not logged in.

What the hell is happening here? I can't work it out. It says i am logging in fine, but then when I go to do an action (such as a GET, or POST to the site), it says I am not logged in!

Thanks.
#4
Web Development / Javascript Question
January 26, 2009, 11:46 AM
Okay so i'm trying to work out what this javascript regex function does, and I really can't work it out. Can someone help me? I know it splits usernames into "username|username" and so on. I also know (I think) /g means it will encrypt all usernames, or in this case replace them with something.

I have no idea what the /\% does though. Can someone help me with this?

Thanks.

        var i, usrsArr = usrs.split("|");
        for(i = 0; i < usrsArr.length;i++)
            $atf("atf_"+usrsArr[i].replace(/\%/g,""));
    }


EDIT: And yes, it's been a long time since I posted.  :)
#5
Thing-O-Rama ™ / Re: Tell us now!
October 04, 2008, 12:13 PM
I got bored so I decided to re-visit vL.. and it's still going. Amazing. :D
#6
General Discussion / Re: Im back
October 04, 2008, 05:20 AM
Heh I just remembered about vL forums aswell.. hey :P
#7
Thing-O-Rama ™ / Re: Tell us now!
October 04, 2008, 05:16 AM
o hai
#8
Gaming Discussion / Re: Halo 3?
September 25, 2007, 01:33 PM
I'll be getting it tommorow.. Stupid british dates.. >_<
#9
Spht's Forum / Re: EternalChat 2.17
April 03, 2007, 04:52 PM
Thanks for updating this, i've always liked this bot. :)
#10
Spht's Forum / Re: Will you be my /friend?
April 02, 2007, 05:51 PM
I asked Spht if he would give me a hint about the egg. The reply i got was:

[23:50:44] <Spht> eww no. it's super easy
#11
/WHOAMI -- Introductions / Re: Hello All !
April 02, 2007, 05:17 AM
Welcome.  :D
#12
General Discussion / Re: BNLS is down
April 01, 2007, 01:01 PM
Quote from: Spht on April 01, 2007, 11:45 AM
April fools!

Sincerely,
The vL April Fools Team--bringing you cutting edge April fools pranks every year
Special thanks:  Spht, etc

I liked the "BNLS Source Code getting leaked" April fools better. ;)
#13
Thing-O-Rama ™ / Re: Tell us now!
March 03, 2007, 05:46 PM
I really like this girl, and no her name isn't sally. ;)
#14
/WHOAMI -- Introductions / Re: Hi, I'm LCSBSSRHXXX
February 10, 2007, 02:43 PM
Hello. :)
#15
Thing-O-Rama ™ / Re: Tell us now!
February 10, 2007, 07:07 AM
hai