Jump to content

This site uses cookies. By continuing to browse the site you are agreeing to our use of cookies. Find out more here. X
X


Photo

Run Crypt File


  • Please log in to reply
8 replies to this topic

#1 Caiol

Caiol

    Seeker

  • Active Members
  • 40 posts

Posted 12 February 2011 - 07:01 PM

Hello everybody!!

I'm trying to use _Crypt_EncryptFile() to encrypt a executable and do a FileInstall() in a script.

The thing is i want to run the encrypted file without save it in the user computer...

Some like this:
FileInstall > Decrypt (Without save) > Run

It's possible?

If it is possible, how? Can i use something related to resources?

Thanks!! :)







#2 guinness

guinness

    all-consuming swarm in inconspicuous disguise

  • Developers
  • 17,628 posts

Posted 12 February 2011 - 09:02 PM

I would do a search for Resources UDF by Zedna! Because FileInstall will always save to the Users Computer.

Edited by guinness, 12 February 2011 - 09:02 PM.

Example List: _AdapterConnections()_AlwaysRun()_AppMon()_AppMonEx()_BinaryBin()_CheckMsgBox()_CmdLineRaw()_ContextMenu()_ConvertLHWebColor()/_ConvertSHWebColor()_DesktopDimensions()_DisplayPassword()_Fibonacci()_FileCompare()_FileCompareContents()_FileNameByHandle()_FilePrefix/SRE()_FindInFile()_GetBackgroundColor()/_SetBackgroundColor()_GetConrolID()_GetCtrlClass()_GetDirectoryFormat()_GetDriveMediaType()_GetFilename()/_GetFilenameExt()_GetHardwareID()_GetIP()_GetIP_Country()_GetOSLanguage()_GetSavedSource()_GetStringSize()_GetSystemPaths()_GetURLImage()_GIFImage()_GoogleWeather()_GUICtrlCreateGroup()_GUICtrlListBox_CreateArray()_GUICtrlListView_CreateArray()_GUICtrlListView_SaveCSV()_GUICtrlListView_SaveHTML()_GUICtrlListView_SaveTxt()_GUICtrlListView_SaveXML()_GUICtrlMenu_Recent()_GUICtrlMenu_SetItemImage()_GUICtrlTreeView_CreateArray()_GUIDisable()_GUIImageList_SetIconFromHandle()_GUIRegisterMsg()_GUISetIcon()_Icon_Clear()/_Icon_Set()_IdleTime()_InetGet()_InetGetGUI()_InetGetProgress()_IPDetails()_IsFileOlder()_IsGUID()_IsHex()_IsPalindrome()_IsRegKey()_IsStringRegExp()_IsSystemDrive()_IsUPX()_IsValidType()_IsWebColor()_Language()_Log()_MicrosoftInternetConnectivity()_MSDNDataType()_PathFull/GetRelative/Split()_PathSplitEx()_PrintFromArray()_ProgressSetMarquee()_ReDim()_RockPaperScissors()/_RockPaperScissorsLizardSpock()_ScrollingCredits_SelfDelete()_SelfRename()_SelfUpdate()_SendTo()_ShellAll()_ShellFile()_ShellFolder()_SingletonHWID()_SingletonPID()_Startup()_StringCompact()_StringIsValid()_StringRegExpMetaCharacters()_StringReplaceWholeWord()_StringStripChars()_Temperature()_TrialPeriod()_UKToUSDate()/_USToUKDate()_WinAPI_Create_CTL_CODE()_WinAPI_CreateGUID()_WMIDateStringToDate()/_DateToWMIDateString()Au3 script parsingAutoIt SearchAutoIt3 PortableAutoIt3WrapperToPragmaAutoItWinGetTitle()/AutoItWinSetTitle()CodingDirToHTML5FileInstallrGeoIP databaseGUI - Only Close ButtonGUI ExamplesGUICtrlDeleteImage()GUICtrlGetBkColor()GUICtrlGetStyle()GUIEventsGUIGetBkColor()Int_Parse() & Int_TryParse()LockFile()Mapping CtrlIDsParseHeadersToSciTE()PasswordValidPasteBinPosts Per DayPreExpandQueue()Resource UpdateResourcesExSciTE JumpSettings INISHELLHOOKShunting-YardSignature CreatorStack()Stopwatch()StringAddLF()/StringStripLF()StringEOLToCRLF()VSCROLLWM_COPYDATAMore Examples...
Updated: 26/09/2014


#3 PsaltyDS

PsaltyDS

    Most Venerable Penguin

  • MVPs
  • 13,279 posts

Posted 12 February 2011 - 11:10 PM

Why run it without saving to disk first? Sounds malicious.

:)
Valuater's AutoIt 1-2-3, Class... Is now in Session!For those who want somebody to write the script for them: RentACoder"Any technology distinguishable from magic is insufficiently advanced." -- Geek's corollary to Clarke's law

#4 twitchyliquid64

twitchyliquid64

    Peace. Always.

  • Active Members
  • PipPipPipPipPipPip
  • 527 posts

Posted 13 February 2011 - 06:35 AM

Why run it without saving to disk first? Sounds malicious.

:)


I agree. Sounds Like your trying to make a crypter Like this one. If you are, go away. All it does is spoils Autoit's reputation.

If not, well sorry I dunno.
ongoing projects:-firestorm: Largescale P2P Social NetworkCompleted Autoit Programs/Scripts: Variable Pickler | Networked Streaming Audio (in pure autoIT) | firenet p2p web messenger | Proxy Checker | Dynamic Execute() Code Generator | P2P UDF | Graph Theory Proof of Concept - Breadth First search

#5 CaptainClucks

CaptainClucks

    Unum Cavillator Spuria

  • Active Members
  • PipPipPipPipPipPip
  • 1,227 posts

Posted 13 February 2011 - 08:53 AM

trancexx can answer this question....

But by the way this sounds, I doubt you're gonna get anywhere here...
Spoiler

Warning: Posts by this user are subject to change or may disappear without notice.


#6 Caiol

Caiol

    Seeker

  • Active Members
  • 40 posts

Posted 13 February 2011 - 01:09 PM

It isn't malicious... i've write in the majority of my topics, sorry... :)

I'm making a game anti hack/cheating and i want to block the original executable from copys and others... and i've find the _Crypt_EncryptFile, but i don't know if its possible to run without save in the user/player computer...

With resources can i run it without save?
I've been searching about it, but i don't found an alternative.

Sorry for my english... ;)

EDIT: I've find what System238 said, but the function "RunBinary" isn't working with my executable... :idiot:

The Topic: http://www.autoitscript.com/forum/topic/99412-run-binary/page__p__713513#entry713513

Someone helps?

Edited by Caiol, 13 February 2011 - 01:38 PM.


#7 Caiol

Caiol

    Seeker

  • Active Members
  • 40 posts

Posted 14 February 2011 - 06:41 PM

Bump.. :)

#8 CaptainClucks

CaptainClucks

    Unum Cavillator Spuria

  • Active Members
  • PipPipPipPipPipPip
  • 1,227 posts

Posted 14 February 2011 - 09:17 PM

It's exactly what it says. the executable isn't relocatable...

meaning its only operable in a certain directory.

And anyway, no matter what you do, its still possible to hack your game... just ask a dev....

You can only make it harder for someone to do it..
Spoiler

Warning: Posts by this user are subject to change or may disappear without notice.


#9 Caiol

Caiol

    Seeker

  • Active Members
  • 40 posts

Posted 14 February 2011 - 09:42 PM

Yes... whatever I do, they will be able to hack the game... i know it...

So, Thanks everyone! :)




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users