Skip to content

"Doskey" command doesn't work #102

@JalinWang

Description

@JalinWang

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?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions