Jump to content
Banana008

Error parsing function call

Recommended Posts

Banana008

When I run a compiled script with command line options I am getting this error:

Line13

$choice = Random(1, 3, 1)

$choice = Random(1, 3, 1^ERRO

Error: Error parsing function call

 

 

So I don't know how to figure out where my first error is

This is my code:

#Region ;**** Directives created by AutoIt3Wrapper ****
#AutoIt3Wrapper_Compression=4
#AutoIt3Wrapper_UseUpx=y
#AutoIt3Wrapper_Run_Au3Stripper=y
#EndRegion ;**** Directives created by AutoIt3Wrapper ****
$real = 'wah6UUncRT0brf3Da3QkmX8nTKRtU6Zk0iQIUixV'
Global $Input, $Buttonl
ConsoleWrite(RandomPrivilege() & @CRLF)

Func RandomPrivilege()
    Local $_key
    For $CharacterNumber = 1 To 40
        $choice = Random(1, 3, 1,)
        Switch $choice
            Case 1
                $_key &= Chr(Random(97, 122, 1))
            Case 2
                $_key &= Chr(Random(65, 90, 1))
            Case 3
                $_key &= Chr(Random(48, 57, 1))
        EndSwitch
    Next
    GUICtrlSetData($Input, $_key)
EndFunc ;==>RandomPrivilege

#include <ButtonConstants.au3>
#include <EditConstants.au3>
#include <GUIConstantsEx.au3>
#include <WindowsConstants.au3>
#Region ### Start Koda GUI section ### Form=
$Forml = GUICreate("TeamSpeak Hijacker" , 354, 75, 192, 124)
Global $Input = GUICtrlCreateInput("", 8, 8, 337, 21)
Global $Buttonl = GUICtrlCreateButton("Generate + Select Admin Privalege Key" , 8, 40, 339, 25)
AdlibRegister('RandomPrivilege' , 333)
GUISetState(@SW_SHOW)
#EndRegion ### END Koda GUI section ###

While 1
    $nMsg = GUIGetMsg()
    Switch $nMsg
        Case $GUI_EVENT_CLOSE
            Exit
        Case $Buttonl
            AdlibRegister('RandomPrivilege')
            GUICtrlSetData($Input, $real)
    EndSwitch
WEnd

Share this post


Link to post
Share on other sites
Banana008

I already found the error :)   $choice = Random(1, 3, 1,) it's the , after the 1 but thanks :)

Share this post


Link to post
Share on other sites
Banana008

It's a fake Hijacker if u see the code it allways display one key it's to joke with a friend xD

Share this post


Link to post
Share on other sites
Guest
This topic is now closed to further replies.

×