PentestBox / tracker

3 stars 2 forks source link

"Doskey" command doesn't work #102

Open JalinWang opened 6 years ago

JalinWang commented 6 years ago

After installation, I find that I cannot call any "alias" in my PentestBox. So I track this issue and find that the "doskey" in my PentestBox doesn't work well.

When I enter :

doskey foo=echo hello

there is no error and the I use:

doskey /macros

I got the following output:

C:\Users\JN\Desktop > doskey /macros foo=echo hello pwd=cd ls=ls --color $ firefox="%pentestbox_ROOT%\bin\FirefoxPortable\FirefoxPortable.exe" androdis=python "%pentestbox_ROOT%\bin\androidsecurity\androguard\androdis.py" $ ...

It seems that I have successfully created the alias, but when I type "foo" and enter, there is something wrong:

> foo 'foo' is not recognized as an internal or external command, operable program or batch file.

I'm using win10 64-bit, and what else can I do to provide you more information or deal with this issue?