Jump to content

Cherokee

Members
  • Posts

    11
  • Joined

  • Last visited

Everything posted by Cherokee

  1. I've already done that, no luck. EDIT: solved, had the picture at the very bottom of the code, put it at the top and it worked fine. $Pic1 = GUICtrlCreatePic("C:\Users\xsploit\Desktop\program\GUI.bmp", 0, 0, 0, 0) GUICtrlSetState(-1, $GUI_DISABLE)
  2. When adding a background via GUICtrlCreatePic for my GUI, all my buttons, labels and inputs are behind the background until I hover over them. Is this a bug and is there a way to fix this? I've set the tab order to the back for the picture. They're all extremely glitchy as well even when i do hover over them.
  3. Thanks that works perfectly
  4. I'm trying to set a proxy in _WinHttp Here's my code $hOpen = _WinHttpOpen($userAgent) $hConnect = _WinHttpConnect($hOpen, $host, $SSL) _WinHttpSetDefaultProxyConfiguration(1, "84.40.120.192:8080") $hLoginResult = _WinHttpSimpleFormFill($hConnect, $referer, $actionUrl, _ $formID, _ "name:" & $inputUser, $user, _ "name:" & $inputPass, $pass) ConsoleWrite($hLoginResult & @CRLF) _WinHttpCloseHandle($hConnect) _WinHttpCloseHandle($hOpen) But it's just using my regular IP. I'm not too familiar with using proxies inside _WinHttp so any help is appreciated.
  5. I've been trying to login to sites that use POST to send your login details and cookies+sessions to store the login, but I've had no luck. The regular winhttp functions don't support cookies so I had no luck there. But when using the _winhttp functions located here '?do=embed' frameborder='0' data-embedContent>> I managed to send POST request and store cookies. I tested this on a PHP script on my server and it submitted a form and stored the cookie perfectly. Every time I try use this on a website to login however, it doesn't work what so ever. The page just loads, no form is submitted. Has anyone successfully done this and wouldn't mind sharing there method?
  6. Already tried that, only thing the login script relies on is the referrer equal to https://instagram.com/accounts/login/ and the cookie csrfmiddlewaretoken equal to the assigned session token. I've edited the refer in winhttp.au3 and set it to https://instagram.com/accounts/login/ but still no luck. I've tested it on a PHP script on my server, also with SSL enabled and it works absolutely fine, just not on instagram.
  7. I've been attempting to login to Instagram via the _WinHTTP functions all day with no succes. The response only loads the default login page, with no invalid/successful login notification. Here's my code. #include <WinHttp.au3> Global $host = 'instagram.com' $hOpen = _WinHttpOpen() $hConnect = _WinHttpConnect($hOpen, $host) $hLoginResult = _WinHttpSimpleFormFill($hConnect, "/accounts/login/", _ "login-form", _ "name:username", "theusername", _ "name:password", "thepassword") ConsoleWrite($hLoginResult & @CRLF) _WinHttpCloseHandle($hConnect) _WinHttpCloseHandle($hOpen) Any help would be appreciated, thanks.
  8. I'll add that in now, thanks!
  9. Got it, here's my final code. Thanks guys. $begin = TimerInit() $timout = 3 $last = 0 While 1 $dif = TimerDiff($begin) $Count = int($dif/1000) if $Count = $last + $timout Then MsgBox(64, "test", "test") $last = $Count EndIf WEnd
  10. Thanks a million, will take a look. EDIT: Just had a look at some examples and people seem to be using sleep() in conjunction with TimerInit and TimerDiff. Does anyone have a better example of how I could implement these two functions to create a timer so that I can just make an if statement that executes when $timer = 5.
  11. This is my first post here on the AutoIt forums, so hello everyone AutoIt doesn't support multitasking so I'm trying to find a workaround for this. I have a function that I want running all of the time, but I also have another function that has sleep() which is interrupting the function that I want to run constantly. So instead I thought, instead of having it sleep for a certain amount of time, to make it so its set to only execute after a certain amount of time while running all of the other code. I thought about getting the time and if the seconds for example has a 5 in it, execute the code. So that way it'd only execute every 10 seconds. But would there be an easier, more efficient way of doing this? Thanks in advance.
×
×
  • Create New...