Jump to content

[Solved]Hide the contents of BAT file in UAXP


Recommended Posts

during t12 my installs.cmd executed its operation

and after my uaXP finishes,, it runs a run.bat on gui runonce

i want to use *.exe instead( sth like converting bat to exe)

so that all my code is encrypted or hidden

i tried Quick Batch File Compiler but it unable to operate its command in t-12

hope the application is only for win32

plz guide me.. what to do

Edited :

I tried exescript,,

its amizing,, it totally hide the contents of the batch (convert to exe)

Edited by Nepali
Link to comment
Share on other sites


hahaha
Did I post a joke, man?!
it on the CD.. inside $oem$..

So, do you leave such CDs, with your customers/coworkers?

how can be a CD contents be deleted ..

Since this could be a joke, I'd say: FORMAT IT! HAHAHA!

Link to comment
Share on other sites

what the output..

i tried

hidcon.exe installs.cmd (they are in same folder)

but i couldn't see any output..

nothing seems to be happning

This program HIDES the blackbox cmd window so the user SEES nothing.

The installs.cmd file is being run but is hidden.

I thought his was what you were asking for.

shark

Link to comment
Share on other sites

:)

Well i am extreamly sorry @ mazin, i didn't meant that..

what i actually meant is ,,

my CMDLINES.TXT has following code'

[COMMANDS]".\installs.cmd"

".\user.cmd"

i got file named user.cmd and installs.cmd inside $oem$

User.cmd

@ECHO OFF

TITLE Enhancing UAXP 2007 Ver 6.02

@dcp rowcol 02 01 "Creating User Account Policy..." bright green

net user Root /add >nul

net localgroup Administrators Root /add >nul

net accounts /maxpwage:unlimited >nul

@dcp rowcol 05 01 "Completed...." bright red

installs.cmd
@ECHO OFF

TITLE Enhancing UAXP 2007 Ver 6.02

@dcp rowcol 01 20 "Starting installation of Applications" bright yellow

echo.

@dcp rowcol 03 01 "Implementing system performance settings..." bright green

START "Updating Windows Policies" /WAIT ".\av\kav.exe" /S

rem START "" /WAIT REGEDIT /S ".\REG_FILES\wmp.reg"

@dcp rowcol 04 01 "Completed...." bright red

@dcp rowcol 06 01 "Removing un-necessary files..." bright gren

REM start "loading....." /WAIT msiexec /i MSN\MsnMsgs.msi /q

@dcp rowcol 07 01 "Completed...." bright red

codes are more.. i am just giving the example

so anybody can view the contents inside my cmd files

i want to hide these codes permanently , so that the code are un-understandable to anybody

but still can perform the task specified.

sth like bat2exe

I tried Quick Batch File Compiler, the output exe can perform in windows environment like a charm, but can't give the same output in t-12

Edited by Nepali
Link to comment
Share on other sites

I believe this is from the maker of msistub.exe, i really dont know.

I do know, it works great. I've used it for about a year already.

usage: hidcon.exe yourcommandfile.cmd

Get it here

shark

does this hidcon as same as cmdow?

i am using cmdow and symantec detect as a virus ... maybe this one can replace my cmdow...............

Link to comment
Share on other sites

You can try my tool cmdhide.exe

It is a little larger in size... but it will do the job for ya. Read the instructions on that site. My suggestion is to try using the Window Name option for hiding your script if cmdhide.exe yourcommandfile.cmd doesn't work.

Link to comment
Share on other sites

You can try my tool cmdhide.exe

It is a little larger in size... but it will do the job for ya. Read the instructions on that site. My suggestion is to try using the Window Name option for hiding your script if cmdhide.exe yourcommandfile.cmd doesn't work.

works like charm =)

cool tools

Thanks .......

Link to comment
Share on other sites

Hi Nepali,

Don't forget our all-weather friend nircmd.exe. It alone can do wonder in your all batch operations with its repertoire of marvellous set of switches and commands. In your case you just put the nircmd.exe file inside your $OEM$ folder and write in your cmdlines.txt like below:

[COMMANDS]

".\nircmd.exe execmd installs.cmd"

".\nircmd.exe execmd user.cmd"

Enough to solve the problem!

@MOONLIGHT SONATA :D

Link to comment
Share on other sites

@Nepali,

one question still remains though. Does ExeScript compiled EXE(<--- .BAT) can run successfully in pure DOS Mode, like from CMDLINES.TXT or from DetachedProgram @T-39? From your post it looks like it can, just enquiring if you've had any success with it.

Regards.

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...