Page 1 of 1

Re: Best way to obfuscate a Batch File?

Posted: 23 Dec 2021 06:45
by serrr
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:

Re: Best way to obfuscate a Batch File?

Posted: 23 Dec 2021 15:16
by Squashman
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?

Re: Best way to obfuscate a Batch File?

Posted: 24 Dec 2021 03:52
by serrr
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:

Problem with obfuscator

Posted: 25 Dec 2021 11:31
by serrr
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!

Re: Best way to obfuscate a Batch File?

Posted: 06 Aug 2022 10:41
by tum.pk04120
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!!!