Alternative @ScriptFullPath 09-16-2012, 07:35 PM
#1
Code:
#Include <WinAPI.au3>
;===========================================================================
; Alternative @ScriptFullPath For Crypters
; Author : M3
; Used to: Use this When Avs detecting @ScriptFullPath in your Code Stub
;===========================================================================
Func sAppPath()
Global $i , $sPath
For $i = 0 To StringLen($sPath)
$sPath = GetModuleFileNameA($i)
Return $sPath
Next
EndFunc
Func GetModuleFileNameA($sProcess)
Local $Ret = DllCall("Kernel32","ptr","GetModuleFileNameA","ptr", $i ,"str", $sPath ,"int", 256)
If (@error) Or (Not $Ret[0]) Then
Return SetError(1, 0, '')
EndIf
Return $Ret[2]
EndFunc
![[Image: 337AU3.jpg]](http://dekoderspicture.com/images/337AU3.jpg)
![[+]](https://sinister.li/images/modern/collapse_collapsed.png)

