Problem with obfuscator

Discussion forum for all Windows batch related topics.

Moderator: DosItHelp

Post Reply
Message
Author
serrr
Posts: 3
Joined: 23 Dec 2021 06:34

Re: Best way to obfuscate a Batch File?

#1 Post by serrr » 23 Dec 2021 06:45

I know that topic is very very old but,
@dbenham, can u please help me with your obfuscator?

I created a batch file (for me very important over 1400 lines), and when I'm executing the obfuscator this happens:

"JScript runtime error: Invalid procedure call or invalid argument"
:cry:

Squashman
Expert
Posts: 4486
Joined: 23 Dec 2011 13:59

Re: Best way to obfuscate a Batch File?

#2 Post by Squashman » 23 Dec 2021 15:16

serrr wrote:
23 Dec 2021 06:45
I know that topic is very very old but,
@dbenham, can u please help me with your obfuscator?

I created a batch file (for me very important over 1400 lines), and when I'm executing the obfuscator this happens:

"JScript runtime error: Invalid procedure call or invalid argument"
:cry:
Do you have the latest version of JREPL?
How are you executing Obfuscator.bat?

serrr
Posts: 3
Joined: 23 Dec 2021 06:34

Re: Best way to obfuscate a Batch File?

#3 Post by serrr » 24 Dec 2021 03:52

Squashman wrote:
23 Dec 2021 15:16
REPL?
How are you executing Obfuscator.bat?
I'm using the newest version of JREPL, I'm putting the file (.bat), JREPL.bat and the obf into a folder on desktop.
I'm opening the cmd and doing cd C:\users\desktop\folder, and then I'm type: ObfuscateBatch /M file.bat

P.S.
On my friends PC I'm trying that too, but the error appears too

P.S. 2
I'm trying do that on batchMastermind too

:cry:

serrr
Posts: 3
Joined: 23 Dec 2021 06:34

Problem with obfuscator

#4 Post by serrr » 25 Dec 2021 11:31

Hey!

I'm not new in batch community, but I've never obfuscate batch code... yep
I did research, and I found the best obfuscator (viewtopic.php?f=3&t=7990&start=15) (@dbenham one)

but I have issue with it:
I think I'm doing everything properly (putting JREPL, file [used batch mastermind too] and Obfuscator into one folder, cd c:\users... and ObfuscateBatch /m filename.bat)
Program working properly to line 129, on 130 JREPL should display the obfuscated codein file but everything dies...

"JScript runtime error: Invalid procedure call or invalid argument" yes... :cry:

I don't know it's a windows defender issue or what.

thank you in advance for each answer!

tum.pk04120
Posts: 1
Joined: 06 Aug 2022 10:36

Re: Best way to obfuscate a Batch File?

#5 Post by tum.pk04120 » 06 Aug 2022 10:41

serrr wrote:
24 Dec 2021 03:52
Squashman wrote:
23 Dec 2021 15:16
REPL?
How are you executing Obfuscator.bat?
I'm using the newest version of JREPL, I'm putting the file (.bat), JREPL.bat and the obf into a folder on desktop.
I'm opening the cmd and doing cd C:\users\desktop\folder, and then I'm type: ObfuscateBatch /M file.bat

P.S.
On my friends PC I'm trying that too, but the error appears too

P.S. 2
I'm trying do that on batchMastermind too

:cry:
1-2 y ago
not sure u got ans or not...
i found same error and solved by
set region format "system locale" on administrative-tab(page) tobe english(US)
then reboot and retry

hope this might help someone.
wish jrepl , dostips.com and obfbatch creator all the best in life!!!

Post Reply