• B правой части каждого сообщения есть стрелки и . Не стесняйтесь оценивать ответы. Чтобы автору вопроса закрыть свой тикет, надо выбрать лучший ответ. Просто нажмите значок в правой части сообщения.

Ошибка при установке Empire (ash: ./Empire: Is a directory)

Артем 2009

New member
20.01.2023
3
0
изображение_2023-01-20_185344224.png

@jvacaa ➜ /workspaces/Empire (master) $
@jvacaa ➜ /workspaces/Empire (master) $ s
bash: s: command not found
@jvacaa ➜ /workspaces/Empire (master) $ ls
changelog data Dockerfile empire lib LICENSE plugins README.md setup VERSION
@jvacaa ➜ /workspaces/Empire (master) $ git clone
fatal: You must specify a repository to clone.

usage: git clone [<options>] [--] <repo> [<dir>]

-v, --verbose be more verbose
-q, --quiet be more quiet
--progress force progress reporting
-n, --no-checkout don't create a checkout
--bare create a bare repository
--mirror create a mirror repository (implies bare)
-l, --local to clone from a local repository
--no-hardlinks don't use local hardlinks, always copy
-s, --shared setup as shared repository
--recursive ... alias of --recurse-submodules
--recurse-submodules[=<pathspec>]
initialize submodules in the clone
-j, --jobs <n> number of submodules cloned in parallel
--template <template-directory>
directory from which templates will be used
--reference <repo> reference repository
--reference-if-able <repo>
reference repository
--dissociate use --reference only while cloning
-o, --origin <name> use <name> instead of 'origin' to track upstream
-b, --branch <branch>
checkout <branch> instead of the remote's HEAD
-u, --upload-pack <path>
path to git-upload-pack on the remote
--depth <depth> create a shallow clone of that depth
--shallow-since <time>
create a shallow clone since a specific time
--shallow-exclude <revision>
deepen history of shallow clone, excluding rev
--single-branch clone only one branch, HEAD or --branch
--no-tags don't clone any tags, and make later fetches not to follow them
--shallow-submodules any cloned submodules will be shallow
--separate-git-dir <gitdir>
separate git dir from working tree
-c, --config <key=value>
set config inside the new repository
--server-option <server-specific>
option to transmit
-4, --ipv4 use IPv4 addresses only
-6, --ipv6 use IPv6 addresses only
--filter <args> object filtering
--remote-submodules any cloned submodules will use their remote-tracking branch
--sparse initialize sparse-checkout file to include only files at root

@jvacaa ➜ /workspaces/Empire (master) $ git clone gh repo clone EmpireProject/Empire
fatal: Too many arguments.

usage: git clone [<options>] [--] <repo> [<dir>]

-v, --verbose be more verbose
-q, --quiet be more quiet
--progress force progress reporting
-n, --no-checkout don't create a checkout
--bare create a bare repository
--mirror create a mirror repository (implies bare)
-l, --local to clone from a local repository
--no-hardlinks don't use local hardlinks, always copy
-s, --shared setup as shared repository
--recursive ... alias of --recurse-submodules
--recurse-submodules[=<pathspec>]
initialize submodules in the clone
-j, --jobs <n> number of submodules cloned in parallel
--template <template-directory>
directory from which templates will be used
--reference <repo> reference repository
--reference-if-able <repo>
reference repository
--dissociate use --reference only while cloning
-o, --origin <name> use <name> instead of 'origin' to track upstream
-b, --branch <branch>
checkout <branch> instead of the remote's HEAD
-u, --upload-pack <path>
path to git-upload-pack on the remote
--depth <depth> create a shallow clone of that depth
--shallow-since <time>
create a shallow clone since a specific time
--shallow-exclude <revision>
deepen history of shallow clone, excluding rev
--single-branch clone only one branch, HEAD or --branch
--no-tags don't clone any tags, and make later fetches not to follow them
--shallow-submodules any cloned submodules will be shallow
--separate-git-dir <gitdir>
separate git dir from working tree
-c, --config <key=value>
set config inside the new repository
--server-option <server-specific>
option to transmit
-4, --ipv4 use IPv4 addresses only
-6, --ipv6 use IPv6 addresses only
--filter <args> object filtering
--remote-submodules any cloned submodules will use their remote-tracking branch
--sparse initialize sparse-checkout file to include only files at root

@jvacaa ➜ /workspaces/Empire (master) $ git clone GitHub - EmpireProject/Empire: Empire is a PowerShell and Python post-exploitation agent.
Cloning into 'Empire'...
remote: Enumerating objects: 12216, done.
remote: Total 12216 (delta 0), reused 0 (delta 0), pack-reused 12216
Receiving objects: 100% (12216/12216), 22.14 MiB | 19.05 MiB/s, done.
Resolving deltas: 100% (8307/8307), done.
@jvacaa ➜ /workspaces/Empire (master ✗) $ ls
changelog data Dockerfile empire Empire lib LICENSE plugins README.md setup VERSION
@jvacaa ➜ /workspaces/Empire (master ✗) $ cd Empire
@jvacaa ➜ /workspaces/Empire/Empire (master) $ ls
changelog data Dockerfile empire lib LICENSE plugins README.md setup VERSION
@jvacaa ➜ /workspaces/Empire/Empire (master) $ cd setup
@jvacaa ➜ /workspaces/Empire/Empire/setup (master) $ ls
cert.sh install.sh requirements.txt reset.sh setup_database.py
@jvacaa ➜ /workspaces/Empire/Empire/setup (master) $ ./install.sh
Reading package lists... Done
Building dependency tree
Reading state information... Done
Package libssl1.0.0 is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source

Package python-pip is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source
However the following packages replace it:
python3-pip

E: Unable to locate package python-dev
E: Unable to locate package python-m2crypto
E: Unable to locate package swig
E: Package 'python-pip' has no installation candidate
E: Unable to locate package default-jdk
E: Package 'libssl1.0.0' has no installation candidate
Requirement already satisfied: pip in /usr/local/python/3.10.4/lib/python3.10/site-packages (22.3.1)
Collecting urllib3<1.23,>=1.21.1
Downloading urllib3-1.22-py2.py3-none-any.whl (132 kB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 132.3/132.3 kB 6.6 MB/s eta 0:00:00
Collecting requests==2.18.4
Downloading requests-2.18.4-py2.py3-none-any.whl (88 kB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 88.7/88.7 kB 4.7 MB/s eta 0:00:00
Requirement already satisfied: setuptools in /usr/local/python/3.10.4/lib/python3.10/site-packages (from -r requirements.txt (line 3)) (58.1.0)
Collecting iptools
Downloading iptools-0.7.0-py2.py3-none-any.whl (16 kB)
Collecting pydispatcher
Downloading PyDispatcher-2.0.6.tar.gz (38 kB)
Preparing metadata (setup.py) ... done
Collecting flask
Downloading Flask-2.2.2-py3-none-any.whl (101 kB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 101.5/101.5 kB 4.9 MB/s eta 0:00:00
Collecting macholib
Downloading macholib-1.16.2-py2.py3-none-any.whl (38 kB)
Collecting dropbox
Downloading dropbox-11.36.0-py3-none-any.whl (594 kB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 594.0/594.0 kB 21.1 MB/s eta 0:00:00
Collecting pyOpenSSL==17.2.0
Downloading pyOpenSSL-17.2.0-py2.py3-none-any.whl (52 kB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 52.6/52.6 kB 2.8 MB/s eta 0:00:00
Collecting pyinstaller
Downloading pyinstaller-5.7.0-py3-none-manylinux2014_x86_64.whl (649 kB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 649.9/649.9 kB 22.9 MB/s eta 0:00:00
Collecting zlib_wrapper
Downloading zlib_wrapper-0.1.3.tar.gz (3.2 kB)
Preparing metadata (setup.py) ... done
Collecting netifaces
Downloading netifaces-0.11.0.tar.gz (30 kB)
Preparing metadata (setup.py) ... done
Collecting M2Crypto
Downloading M2Crypto-0.38.0.tar.gz (1.2 MB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 1.2/1.2 MB 34.9 MB/s eta 0:00:00
Preparing metadata (setup.py) ... done
Collecting jinja2
Downloading Jinja2-3.1.2-py3-none-any.whl (133 kB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 133.1/133.1 kB 7.4 MB/s eta 0:00:00
Collecting cryptography
Downloading cryptography-39.0.0-cp36-abi3-manylinux_2_28_x86_64.whl (4.2 MB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 4.2/4.2 MB 48.0 MB/s eta 0:00:00
Collecting pyminifier==2.1
Downloading pyminifier-2.1.tar.gz (47 kB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 47.3/47.3 kB 2.2 MB/s eta 0:00:00
Preparing metadata (setup.py) ... error
error: subprocess-exited-with-error

× python setup.py egg_info did not run successfully.
│ exit code: 1
╰─> [1 lines of output]
error in pyminifier setup command: use_2to3 is invalid.
[end of output]

note: This error originates from a subprocess, and is likely not a problem with pip.
error: metadata-generation-failed

× Encountered error while generating package metadata.
╰─> See above for output.

note: This is an issue with the package mentioned above, not pip.
hint: See above for details.
ls: cannot access '/opt/microsoft/powershell/*/DELETE_ME_TO_DISABLE_CONSOLEHOST_TELEMETRY': No such file or directory
mkdir: cannot create directory ‘/usr/local/share/powershell’: Permission denied
cp: cannot create directory '/usr/local/share/powershell/Modules': No such file or directory
xar-1.5.2/
xar-1.5.2/lib/
xar-1.5.2/lib/fbsdattr.c
xar-1.5.2/lib/filetree.h
xar-1.5.2/lib/stat.c
xar-1.5.2/lib/hash.c
xar-1.5.2/lib/ext2.h
xar-1.5.2/lib/darwinattr.h
xar-1.5.2/lib/libxar.la.in.in
xar-1.5.2/lib/archive.c
xar-1.5.2/lib/subdoc.c
xar-1.5.2/lib/script.c
xar-1.5.2/lib/script.h
xar-1.5.2/lib/arcmod.c
xar-1.5.2/lib/arcmod.h
xar-1.5.2/lib/b64.c
xar-1.5.2/lib/subdoc.h
xar-1.5.2/lib/filetree.c
xar-1.5.2/lib/bzxar.c
xar-1.5.2/lib/ext2.c
xar-1.5.2/lib/fbsdattr.h
xar-1.5.2/lib/linuxattr.c
xar-1.5.2/lib/macho.c
xar-1.5.2/lib/ea.h
xar-1.5.2/lib/appledouble.h
xar-1.5.2/lib/darwinattr.c
xar-1.5.2/lib/util.h
xar-1.5.2/lib/util.c
xar-1.5.2/lib/hash.h
xar-1.5.2/lib/zxar.c
xar-1.5.2/lib/data.h
xar-1.5.2/lib/zxar.h
xar-1.5.2/lib/signature.h
xar-1.5.2/lib/bzxar.h
xar-1.5.2/lib/macho.h
xar-1.5.2/lib/signature.c
xar-1.5.2/lib/b64.h
xar-1.5.2/lib/err.c
xar-1.5.2/lib/asprintf.h
xar-1.5.2/lib/stat.h
xar-1.5.2/lib/io.h
xar-1.5.2/lib/linuxattr.h
xar-1.5.2/lib/io.c
xar-1.5.2/lib/ea.c
xar-1.5.2/lib/archive.h
xar-1.5.2/lib/data.c
xar-1.5.2/lib/Makefile.inc.in
xar-1.5.2/cfgoutputs.stamp.in
xar-1.5.2/cfghdrs.stamp.in
xar-1.5.2/config.guess
xar-1.5.2/INSTALL
xar-1.5.2/include/
xar-1.5.2/include/config.h.in
xar-1.5.2/include/xar.h.in
xar-1.5.2/configure
xar-1.5.2/test/
xar-1.5.2/test/checksums
xar-1.5.2/test/functions
xar-1.5.2/test/attr
xar-1.5.2/test/data.xsl
xar-1.5.2/test/buffer.c
xar-1.5.2/test/compression
xar-1.5.2/test/heap1.xsl
xar-1.5.2/test/data
xar-1.5.2/test/heap
xar-1.5.2/test/hardlink
xar-1.5.2/test/validate.c
xar-1.5.2/LICENSE
xar-1.5.2/Makefile.in
xar-1.5.2/src/
xar-1.5.2/src/xar.1
xar-1.5.2/src/xar.c
xar-1.5.2/src/Makefile.inc.in
xar-1.5.2/TODO
xar-1.5.2/configure.ac
xar-1.5.2/xar.spec.in
xar-1.5.2/Mk/
xar-1.5.2/config.sub
xar-1.5.2/install-sh
checking for gcc... gcc
checking for C compiler default output file name... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables...
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ANSI C... none needed
checking for special C compiler options needed for large files... no
checking for _FILE_OFFSET_BITS value needed for large files... no
checking for _LARGE_FILES value needed for large files... no
checking how to run the C preprocessor... gcc -E
checking for a BSD-compatible install... /usr/bin/install -c
checking for ld... /usr/bin/ld
checking for ar... /usr/bin/ar
checking for ranlib... /usr/bin/ranlib
checking for autoconf... /usr/bin/autoconf
checking whether to build shared libraries... yes
checking whether to build static libraries... yes
checking build system type... x86_64-unknown-linux-gnu
checking host system type... x86_64-unknown-linux-gnu
checking for egrep... grep -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking ext2fs/ext2_fs.h usability... no
checking ext2fs/ext2_fs.h presence... no
checking for ext2fs/ext2_fs.h... no
checking sys/statfs.h usability... yes
checking sys/statfs.h presence... yes
checking for sys/statfs.h... yes
checking sys/xattr.h usability... yes
checking sys/xattr.h presence... yes
checking for sys/xattr.h... yes
checking sys/param.h usability... yes
checking sys/param.h presence... yes
checking for sys/param.h... yes
checking sys/extattr.h usability... no
checking sys/extattr.h presence... no
checking for sys/extattr.h... no
checking libutil.h usability... no
checking libutil.h presence... no
checking for libutil.h... no
checking for lgetxattr... yes
checking for lsetxattr... yes
checking for getxattr... yes
checking for setxattr... yes
checking for getattrlist... no
checking for setattrlist... no
checking for lchmod... no
checking for lchown... yes
checking for chflags... no
checking for statvfs... yes
checking for statfs... yes
checking for strmode... no
checking for struct statfs.f_fstypename... no
checking for struct statvfs.f_fstypename... no
checking for struct stat.st_flags... no
checking for uid_t... yes
checking size of uid_t... 4
checking for gid_t... yes
checking size of gid_t... 4
checking for ino_t... yes
checking size of ino_t... 8
checking for dev_t... yes
checking size of dev_t... 8
checking for acl_get_file in -lacl... no
checking for asprintf... yes
checking for xml2-config... /usr/bin/xml2-config
checking for libxml >= 2.6.11... 2.9.10
checking libxml/xmlwriter.h usability... yes
checking libxml/xmlwriter.h presence... yes
checking for libxml/xmlwriter.h... yes
checking openssl/evp.h usability... yes
checking openssl/evp.h presence... yes
checking for openssl/evp.h... yes
checking for OpenSSL_add_all_ciphers in -lcrypto... no
configure: error: Cannot build without libcrypto (OpenSSL)
make: *** No targets specified and no makefile found. Stop.
make: *** No rule to make target 'install'. Stop.
Cloning into 'bomutils'...
remote: Enumerating objects: 264, done.
remote: Counting objects: 100% (18/18), done.
remote: Compressing objects: 100% (18/18), done.
remote: Total 264 (delta 6), reused 0 (delta 0), pack-reused 246
Receiving objects: 100% (264/264), 1.21 MiB | 10.31 MiB/s, done.
Resolving deltas: 100% (132/132), done.
g++ -o build/obj/mkbom.o -c -O2 -g0 -s -Wall src/mkbom.cpp
g++ -o build/obj/printnode.o -c -O2 -g0 -s -Wall src/printnode.cpp
g++ -o build/obj/crc32.o -c -O2 -g0 -s -Wall src/crc32.cpp
g++ -o build/bin/mkbom build/obj/mkbom.o build/obj/printnode.o build/obj/crc32.o
g++ -o build/obj/dumpbom.o -c -O2 -g0 -s -Wall src/dumpbom.cpp
g++ -o build/bin/dumpbom build/obj/dumpbom.o build/obj/printnode.o build/obj/crc32.o
g++ -o build/obj/lsbom.o -c -O2 -g0 -s -Wall src/lsbom.cpp
g++ -o build/bin/lsbom build/obj/lsbom.o build/obj/printnode.o build/obj/crc32.o
g++ -o build/obj/ls4mkbom.o -c -O2 -g0 -s -Wall src/ls4mkbom.cpp
g++ -o build/bin/ls4mkbom build/obj/ls4mkbom.o build/obj/printnode.o build/obj/crc32.o
gzip -c man/mkbom.1 > build/man/mkbom.1.gz
gzip -c man/dumpbom.1 > build/man/dumpbom.1.gz
gzip -c man/lsbom.1 > build/man/lsbom.1.gz
gzip -c man/ls4mkbom.1 > build/man/ls4mkbom.1.gz
install -d /usr/bin
install -d /usr/share/man/man1
install -m 0755 build/bin/mkbom build/bin/dumpbom build/bin/lsbom build/bin/ls4mkbom /usr/bin
install: cannot create regular file '/usr/bin/mkbom': Permission denied
install: cannot create regular file '/usr/bin/dumpbom': Permission denied
install: cannot create regular file '/usr/bin/lsbom': Permission denied
install: cannot create regular file '/usr/bin/ls4mkbom': Permission denied
make: *** [build.mk:59: install] Error 1
install -d /usr/bin
install -d /usr/share/man/man1
install -m 0755 build/bin/mkbom build/bin/dumpbom build/bin/lsbom build/bin/ls4mkbom /usr/bin
install: cannot create regular file '/usr/bin/mkbom': Permission denied
install: cannot create regular file '/usr/bin/dumpbom': Permission denied
install: cannot create regular file '/usr/bin/lsbom': Permission denied
install: cannot create regular file '/usr/bin/ls4mkbom': Permission denied
make: *** [build.mk:59: install] Error 1
File "/workspaces/Empire/Empire/setup/./setup_database.py", line 178
print "\n [*] Database setup completed!\n"
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
SyntaxError: Missing parentheses in call to 'print'. Did you mean print(...)?

[*] Certificate written to ../data/empire-chain.pem
[*] Private key written to ../data/empire-priv.key


[*] Setup complete!

@jvacaa ➜ /workspaces/Empire/Empire/setup (master ✗) $
@jvacaa ➜ /workspaces/Empire/Empire/setup (master ✗) $ ..
bash: ..: command not found
@jvacaa ➜ /workspaces/Empire/Empire/setup (master ✗) $ ..
bash: ..: command not found
@jvacaa ➜ /workspaces/Empire/Empire/setup (master ✗) $ /..
bash: /..: Is a directory
@jvacaa ➜ /workspaces/Empire/Empire/setup (master ✗) $ ./
bash: ./: Is a directory
@jvacaa ➜ /workspaces/Empire/Empire/setup (master ✗) $ cd ..
@jvacaa ➜ /workspaces/Empire/Empire (master ✗) $ ./empire
File "/workspaces/Empire/Empire/./empire", line 35
print '[*] Fresh start in docker, running reset.sh for you'
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
SyntaxError: Missing parentheses in call to 'print'. Did you mean print(...)?
@jvacaa ➜ /workspaces/Empire/Empire (master ✗) $
@jvacaa ➜ /workspaces/Empire/Empire (master ✗) $ ls
changelog data Dockerfile empire lib LICENSE plugins README.md setup VERSION
@jvacaa ➜ /workspaces/Empire/Empire (master ✗) $ cd ..
@jvacaa ➜ /workspaces/Empire (master ✗) $ ls
changelog data Dockerfile empire Empire lib LICENSE plugins README.md setup VERSION
@jvacaa ➜ /workspaces/Empire (master ✗) $ ./empire
File "/workspaces/Empire/./empire", line 35
print '[*] Fresh start in docker, running reset.sh for you'
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
SyntaxError: Missing parentheses in call to 'print'. Did you mean print(...)?
@jvacaa ➜ /workspaces/Empire (master ✗) $ ls
changelog data Dockerfile empire Empire lib LICENSE plugins README.md setup VERSION
@jvacaa ➜ /workspaces/Empire (master ✗) $ ./setup
bash: ./setup: Is a directory
@jvacaa ➜ /workspaces/Empire (master ✗) $ cd setup
@jvacaa ➜ /workspaces/Empire/setup (master ✗) $ cd ..
@jvacaa ➜ /workspaces/Empire (master ✗) $ ls
changelog data Dockerfile empire Empire lib LICENSE plugins README.md setup VERSION
@jvacaa ➜ /workspaces/Empire (master ✗) $ ./Empire
bash: ./Empire: Is a directory
@jvacaa ➜ /workspaces/Empire (master ✗) $ ./Empire
bash: ./Empire: Is a directory
@jvacaa ➜ /workspaces/Empire (master ✗) $ ./Empire
bash: ./Empire: Is a directory
@jvacaa ➜ /workspaces/Empire (master ✗) $ cd setup
@jvacaa ➜ /workspaces/Empire/setup (master ✗) $ ./Empire
bash: ./Empire: No such file or directory
@jvacaa ➜ /workspaces/Empire/setup (master ✗) $ ls
cert.sh install.sh requirements.txt reset.sh setup_database.py
@jvacaa ➜ /workspaces/Empire/setup (master ✗) $ cd ..
@jvacaa ➜ /workspaces/Empire (master ✗) $ cd ..
@jvacaa ➜ /workspaces $ ls
Empire
@jvacaa ➜ /workspaces $ ./Empire
bash: ./Empire: Is a directory
@jvacaa ➜ /workspaces $ ./Empire
bash: ./Empire: Is a directory
@jvacaa ➜ /workspaces $ ./Empire
bash: ./Empire: Is a directory
@jvacaa ➜ /workspaces $ ./empire
bash: ./empire: No such file or directory
@jvacaa ➜ /workspaces $ .Eempire
bash: .Eempire: command not found
@jvacaa ➜ /workspaces $ ./Empire
bash: ./Empire: Is a directory
@jvacaa ➜ /workspaces $ l
Empire/
@jvacaa ➜ /workspaces $ ls
Empire
@jvacaa ➜ /workspaces $ ls
Empire
@jvacaa ➜ /workspaces $ ls
Empire
@jvacaa ➜ /workspaces $ ls
Empire
@jvacaa ➜ /workspaces $ ls
Empire
@jvacaa ➜ /workspaces $ ls
Empire
@jvacaa ➜ /workspaces $ ls
Empire
@jvacaa ➜ /workspaces $ /Empire
bash: /Empire: No such file or directory
@jvacaa ➜ /workspaces $ ./Empire
bash: ./Empire: Is a directory
@jvacaa ➜ /workspaces $ sudo apt install powershell-empire
Reading package lists... Done
Building dependency tree
Reading state information... Done
E: Unable to locate package powershell-empire
@jvacaa ➜ /workspaces $ ./Empire
bash: ./Empire: Is a directory
@jvacaa ➜ /workspaces $ ./Empire
bash: ./Empire: Is a directory
@jvacaa ➜ /workspaces $
Вот все что я писал

Я новичек в этой теме и не могу понять что делаю не так (
Вот ошибка - bash: ./Empire: Is a directory
 

Exited3n

Codeby Games
10.05.2022
539
154
Посмотреть вложение 66036
@jvacaa ➜ /workspaces/Empire (master) $
@jvacaa ➜ /workspaces/Empire (master) $ s
bash: s: command not found
@jvacaa ➜ /workspaces/Empire (master) $ ls
changelog data Dockerfile empire lib LICENSE plugins README.md setup VERSION
@jvacaa ➜ /workspaces/Empire (master) $ git clone
fatal: You must specify a repository to clone.

usage: git clone [<options>] [--] <repo> [<dir>]

-v, --verbose be more verbose
-q, --quiet be more quiet
--progress force progress reporting
-n, --no-checkout don't create a checkout
--bare create a bare repository
--mirror create a mirror repository (implies bare)
-l, --local to clone from a local repository
--no-hardlinks don't use local hardlinks, always copy
-s, --shared setup as shared repository
--recursive ... alias of --recurse-submodules
--recurse-submodules[=<pathspec>]
initialize submodules in the clone
-j, --jobs <n> number of submodules cloned in parallel
--template <template-directory>
directory from which templates will be used
--reference <repo> reference repository
--reference-if-able <repo>
reference repository
--dissociate use --reference only while cloning
-o, --origin <name> use <name> instead of 'origin' to track upstream
-b, --branch <branch>
checkout <branch> instead of the remote's HEAD
-u, --upload-pack <path>
path to git-upload-pack on the remote
--depth <depth> create a shallow clone of that depth
--shallow-since <time>
create a shallow clone since a specific time
--shallow-exclude <revision>
deepen history of shallow clone, excluding rev
--single-branch clone only one branch, HEAD or --branch
--no-tags don't clone any tags, and make later fetches not to follow them
--shallow-submodules any cloned submodules will be shallow
--separate-git-dir <gitdir>
separate git dir from working tree
-c, --config <key=value>
set config inside the new repository
--server-option <server-specific>
option to transmit
-4, --ipv4 use IPv4 addresses only
-6, --ipv6 use IPv6 addresses only
--filter <args> object filtering
--remote-submodules any cloned submodules will use their remote-tracking branch
--sparse initialize sparse-checkout file to include only files at root

@jvacaa ➜ /workspaces/Empire (master) $ git clone gh repo clone EmpireProject/Empire
fatal: Too many arguments.

usage: git clone [<options>] [--] <repo> [<dir>]

-v, --verbose be more verbose
-q, --quiet be more quiet
--progress force progress reporting
-n, --no-checkout don't create a checkout
--bare create a bare repository
--mirror create a mirror repository (implies bare)
-l, --local to clone from a local repository
--no-hardlinks don't use local hardlinks, always copy
-s, --shared setup as shared repository
--recursive ... alias of --recurse-submodules
--recurse-submodules[=<pathspec>]
initialize submodules in the clone
-j, --jobs <n> number of submodules cloned in parallel
--template <template-directory>
directory from which templates will be used
--reference <repo> reference repository
--reference-if-able <repo>
reference repository
--dissociate use --reference only while cloning
-o, --origin <name> use <name> instead of 'origin' to track upstream
-b, --branch <branch>
checkout <branch> instead of the remote's HEAD
-u, --upload-pack <path>
path to git-upload-pack on the remote
--depth <depth> create a shallow clone of that depth
--shallow-since <time>
create a shallow clone since a specific time
--shallow-exclude <revision>
deepen history of shallow clone, excluding rev
--single-branch clone only one branch, HEAD or --branch
--no-tags don't clone any tags, and make later fetches not to follow them
--shallow-submodules any cloned submodules will be shallow
--separate-git-dir <gitdir>
separate git dir from working tree
-c, --config <key=value>
set config inside the new repository
--server-option <server-specific>
option to transmit
-4, --ipv4 use IPv4 addresses only
-6, --ipv6 use IPv6 addresses only
--filter <args> object filtering
--remote-submodules any cloned submodules will use their remote-tracking branch
--sparse initialize sparse-checkout file to include only files at root

@jvacaa ➜ /workspaces/Empire (master) $ git clone GitHub - EmpireProject/Empire: Empire is a PowerShell and Python post-exploitation agent.
Cloning into 'Empire'...
remote: Enumerating objects: 12216, done.
remote: Total 12216 (delta 0), reused 0 (delta 0), pack-reused 12216
Receiving objects: 100% (12216/12216), 22.14 MiB | 19.05 MiB/s, done.
Resolving deltas: 100% (8307/8307), done.
@jvacaa ➜ /workspaces/Empire (master ✗) $ ls
changelog data Dockerfile empire Empire lib LICENSE plugins README.md setup VERSION
@jvacaa ➜ /workspaces/Empire (master ✗) $ cd Empire
@jvacaa ➜ /workspaces/Empire/Empire (master) $ ls
changelog data Dockerfile empire lib LICENSE plugins README.md setup VERSION
@jvacaa ➜ /workspaces/Empire/Empire (master) $ cd setup
@jvacaa ➜ /workspaces/Empire/Empire/setup (master) $ ls
cert.sh install.sh requirements.txt reset.sh setup_database.py
@jvacaa ➜ /workspaces/Empire/Empire/setup (master) $ ./install.sh
Reading package lists... Done
Building dependency tree
Reading state information... Done
Package libssl1.0.0 is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source

Package python-pip is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source
However the following packages replace it:
python3-pip

E: Unable to locate package python-dev
E: Unable to locate package python-m2crypto
E: Unable to locate package swig
E: Package 'python-pip' has no installation candidate
E: Unable to locate package default-jdk
E: Package 'libssl1.0.0' has no installation candidate
Requirement already satisfied: pip in /usr/local/python/3.10.4/lib/python3.10/site-packages (22.3.1)
Collecting urllib3<1.23,>=1.21.1
Downloading urllib3-1.22-py2.py3-none-any.whl (132 kB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 132.3/132.3 kB 6.6 MB/s eta 0:00:00
Collecting requests==2.18.4
Downloading requests-2.18.4-py2.py3-none-any.whl (88 kB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 88.7/88.7 kB 4.7 MB/s eta 0:00:00
Requirement already satisfied: setuptools in /usr/local/python/3.10.4/lib/python3.10/site-packages (from -r requirements.txt (line 3)) (58.1.0)
Collecting iptools
Downloading iptools-0.7.0-py2.py3-none-any.whl (16 kB)
Collecting pydispatcher
Downloading PyDispatcher-2.0.6.tar.gz (38 kB)
Preparing metadata (setup.py) ... done
Collecting flask
Downloading Flask-2.2.2-py3-none-any.whl (101 kB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 101.5/101.5 kB 4.9 MB/s eta 0:00:00
Collecting macholib
Downloading macholib-1.16.2-py2.py3-none-any.whl (38 kB)
Collecting dropbox
Downloading dropbox-11.36.0-py3-none-any.whl (594 kB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 594.0/594.0 kB 21.1 MB/s eta 0:00:00
Collecting pyOpenSSL==17.2.0
Downloading pyOpenSSL-17.2.0-py2.py3-none-any.whl (52 kB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 52.6/52.6 kB 2.8 MB/s eta 0:00:00
Collecting pyinstaller
Downloading pyinstaller-5.7.0-py3-none-manylinux2014_x86_64.whl (649 kB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 649.9/649.9 kB 22.9 MB/s eta 0:00:00
Collecting zlib_wrapper
Downloading zlib_wrapper-0.1.3.tar.gz (3.2 kB)
Preparing metadata (setup.py) ... done
Collecting netifaces
Downloading netifaces-0.11.0.tar.gz (30 kB)
Preparing metadata (setup.py) ... done
Collecting M2Crypto
Downloading M2Crypto-0.38.0.tar.gz (1.2 MB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 1.2/1.2 MB 34.9 MB/s eta 0:00:00
Preparing metadata (setup.py) ... done
Collecting jinja2
Downloading Jinja2-3.1.2-py3-none-any.whl (133 kB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 133.1/133.1 kB 7.4 MB/s eta 0:00:00
Collecting cryptography
Downloading cryptography-39.0.0-cp36-abi3-manylinux_2_28_x86_64.whl (4.2 MB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 4.2/4.2 MB 48.0 MB/s eta 0:00:00
Collecting pyminifier==2.1
Downloading pyminifier-2.1.tar.gz (47 kB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 47.3/47.3 kB 2.2 MB/s eta 0:00:00
Preparing metadata (setup.py) ... error
error: subprocess-exited-with-error

× python setup.py egg_info did not run successfully.
│ exit code: 1
╰─> [1 lines of output]
error in pyminifier setup command: use_2to3 is invalid.
[end of output]

note: This error originates from a subprocess, and is likely not a problem with pip.
error: metadata-generation-failed

× Encountered error while generating package metadata.
╰─> See above for output.

note: This is an issue with the package mentioned above, not pip.
hint: See above for details.
ls: cannot access '/opt/microsoft/powershell/*/DELETE_ME_TO_DISABLE_CONSOLEHOST_TELEMETRY': No such file or directory
mkdir: cannot create directory ‘/usr/local/share/powershell’: Permission denied
cp: cannot create directory '/usr/local/share/powershell/Modules': No such file or directory
xar-1.5.2/
xar-1.5.2/lib/
xar-1.5.2/lib/fbsdattr.c
xar-1.5.2/lib/filetree.h
xar-1.5.2/lib/stat.c
xar-1.5.2/lib/hash.c
xar-1.5.2/lib/ext2.h
xar-1.5.2/lib/darwinattr.h
xar-1.5.2/lib/libxar.la.in.in
xar-1.5.2/lib/archive.c
xar-1.5.2/lib/subdoc.c
xar-1.5.2/lib/script.c
xar-1.5.2/lib/script.h
xar-1.5.2/lib/arcmod.c
xar-1.5.2/lib/arcmod.h
xar-1.5.2/lib/b64.c
xar-1.5.2/lib/subdoc.h
xar-1.5.2/lib/filetree.c
xar-1.5.2/lib/bzxar.c
xar-1.5.2/lib/ext2.c
xar-1.5.2/lib/fbsdattr.h
xar-1.5.2/lib/linuxattr.c
xar-1.5.2/lib/macho.c
xar-1.5.2/lib/ea.h
xar-1.5.2/lib/appledouble.h
xar-1.5.2/lib/darwinattr.c
xar-1.5.2/lib/util.h
xar-1.5.2/lib/util.c
xar-1.5.2/lib/hash.h
xar-1.5.2/lib/zxar.c
xar-1.5.2/lib/data.h
xar-1.5.2/lib/zxar.h
xar-1.5.2/lib/signature.h
xar-1.5.2/lib/bzxar.h
xar-1.5.2/lib/macho.h
xar-1.5.2/lib/signature.c
xar-1.5.2/lib/b64.h
xar-1.5.2/lib/err.c
xar-1.5.2/lib/asprintf.h
xar-1.5.2/lib/stat.h
xar-1.5.2/lib/io.h
xar-1.5.2/lib/linuxattr.h
xar-1.5.2/lib/io.c
xar-1.5.2/lib/ea.c
xar-1.5.2/lib/archive.h
xar-1.5.2/lib/data.c
xar-1.5.2/lib/Makefile.inc.in
xar-1.5.2/cfgoutputs.stamp.in
xar-1.5.2/cfghdrs.stamp.in
xar-1.5.2/config.guess
xar-1.5.2/INSTALL
xar-1.5.2/include/
xar-1.5.2/include/config.h.in
xar-1.5.2/include/xar.h.in
xar-1.5.2/configure
xar-1.5.2/test/
xar-1.5.2/test/checksums
xar-1.5.2/test/functions
xar-1.5.2/test/attr
xar-1.5.2/test/data.xsl
xar-1.5.2/test/buffer.c
xar-1.5.2/test/compression
xar-1.5.2/test/heap1.xsl
xar-1.5.2/test/data
xar-1.5.2/test/heap
xar-1.5.2/test/hardlink
xar-1.5.2/test/validate.c
xar-1.5.2/LICENSE
xar-1.5.2/Makefile.in
xar-1.5.2/src/
xar-1.5.2/src/xar.1
xar-1.5.2/src/xar.c
xar-1.5.2/src/Makefile.inc.in
xar-1.5.2/TODO
xar-1.5.2/configure.ac
xar-1.5.2/xar.spec.in
xar-1.5.2/Mk/
xar-1.5.2/config.sub
xar-1.5.2/install-sh
checking for gcc... gcc
checking for C compiler default output file name... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables...
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ANSI C... none needed
checking for special C compiler options needed for large files... no
checking for _FILE_OFFSET_BITS value needed for large files... no
checking for _LARGE_FILES value needed for large files... no
checking how to run the C preprocessor... gcc -E
checking for a BSD-compatible install... /usr/bin/install -c
checking for ld... /usr/bin/ld
checking for ar... /usr/bin/ar
checking for ranlib... /usr/bin/ranlib
checking for autoconf... /usr/bin/autoconf
checking whether to build shared libraries... yes
checking whether to build static libraries... yes
checking build system type... x86_64-unknown-linux-gnu
checking host system type... x86_64-unknown-linux-gnu
checking for egrep... grep -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking ext2fs/ext2_fs.h usability... no
checking ext2fs/ext2_fs.h presence... no
checking for ext2fs/ext2_fs.h... no
checking sys/statfs.h usability... yes
checking sys/statfs.h presence... yes
checking for sys/statfs.h... yes
checking sys/xattr.h usability... yes
checking sys/xattr.h presence... yes
checking for sys/xattr.h... yes
checking sys/param.h usability... yes
checking sys/param.h presence... yes
checking for sys/param.h... yes
checking sys/extattr.h usability... no
checking sys/extattr.h presence... no
checking for sys/extattr.h... no
checking libutil.h usability... no
checking libutil.h presence... no
checking for libutil.h... no
checking for lgetxattr... yes
checking for lsetxattr... yes
checking for getxattr... yes
checking for setxattr... yes
checking for getattrlist... no
checking for setattrlist... no
checking for lchmod... no
checking for lchown... yes
checking for chflags... no
checking for statvfs... yes
checking for statfs... yes
checking for strmode... no
checking for struct statfs.f_fstypename... no
checking for struct statvfs.f_fstypename... no
checking for struct stat.st_flags... no
checking for uid_t... yes
checking size of uid_t... 4
checking for gid_t... yes
checking size of gid_t... 4
checking for ino_t... yes
checking size of ino_t... 8
checking for dev_t... yes
checking size of dev_t... 8
checking for acl_get_file in -lacl... no
checking for asprintf... yes
checking for xml2-config... /usr/bin/xml2-config
checking for libxml >= 2.6.11... 2.9.10
checking libxml/xmlwriter.h usability... yes
checking libxml/xmlwriter.h presence... yes
checking for libxml/xmlwriter.h... yes
checking openssl/evp.h usability... yes
checking openssl/evp.h presence... yes
checking for openssl/evp.h... yes
checking for OpenSSL_add_all_ciphers in -lcrypto... no
configure: error: Cannot build without libcrypto (OpenSSL)
make: *** No targets specified and no makefile found. Stop.
make: *** No rule to make target 'install'. Stop.
Cloning into 'bomutils'...
remote: Enumerating objects: 264, done.
remote: Counting objects: 100% (18/18), done.
remote: Compressing objects: 100% (18/18), done.
remote: Total 264 (delta 6), reused 0 (delta 0), pack-reused 246
Receiving objects: 100% (264/264), 1.21 MiB | 10.31 MiB/s, done.
Resolving deltas: 100% (132/132), done.
g++ -o build/obj/mkbom.o -c -O2 -g0 -s -Wall src/mkbom.cpp
g++ -o build/obj/printnode.o -c -O2 -g0 -s -Wall src/printnode.cpp
g++ -o build/obj/crc32.o -c -O2 -g0 -s -Wall src/crc32.cpp
g++ -o build/bin/mkbom build/obj/mkbom.o build/obj/printnode.o build/obj/crc32.o
g++ -o build/obj/dumpbom.o -c -O2 -g0 -s -Wall src/dumpbom.cpp
g++ -o build/bin/dumpbom build/obj/dumpbom.o build/obj/printnode.o build/obj/crc32.o
g++ -o build/obj/lsbom.o -c -O2 -g0 -s -Wall src/lsbom.cpp
g++ -o build/bin/lsbom build/obj/lsbom.o build/obj/printnode.o build/obj/crc32.o
g++ -o build/obj/ls4mkbom.o -c -O2 -g0 -s -Wall src/ls4mkbom.cpp
g++ -o build/bin/ls4mkbom build/obj/ls4mkbom.o build/obj/printnode.o build/obj/crc32.o
gzip -c man/mkbom.1 > build/man/mkbom.1.gz
gzip -c man/dumpbom.1 > build/man/dumpbom.1.gz
gzip -c man/lsbom.1 > build/man/lsbom.1.gz
gzip -c man/ls4mkbom.1 > build/man/ls4mkbom.1.gz
install -d /usr/bin
install -d /usr/share/man/man1
install -m 0755 build/bin/mkbom build/bin/dumpbom build/bin/lsbom build/bin/ls4mkbom /usr/bin
install: cannot create regular file '/usr/bin/mkbom': Permission denied
install: cannot create regular file '/usr/bin/dumpbom': Permission denied
install: cannot create regular file '/usr/bin/lsbom': Permission denied
install: cannot create regular file '/usr/bin/ls4mkbom': Permission denied
make: *** [build.mk:59: install] Error 1
install -d /usr/bin
install -d /usr/share/man/man1
install -m 0755 build/bin/mkbom build/bin/dumpbom build/bin/lsbom build/bin/ls4mkbom /usr/bin
install: cannot create regular file '/usr/bin/mkbom': Permission denied
install: cannot create regular file '/usr/bin/dumpbom': Permission denied
install: cannot create regular file '/usr/bin/lsbom': Permission denied
install: cannot create regular file '/usr/bin/ls4mkbom': Permission denied
make: *** [build.mk:59: install] Error 1
File "/workspaces/Empire/Empire/setup/./setup_database.py", line 178
print "\n [*] Database setup completed!\n"
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
SyntaxError: Missing parentheses in call to 'print'. Did you mean print(...)?

[*] Certificate written to ../data/empire-chain.pem
[*] Private key written to ../data/empire-priv.key


[*] Setup complete!

@jvacaa ➜ /workspaces/Empire/Empire/setup (master ✗) $
@jvacaa ➜ /workspaces/Empire/Empire/setup (master ✗) $ ..
bash: ..: command not found
@jvacaa ➜ /workspaces/Empire/Empire/setup (master ✗) $ ..
bash: ..: command not found
@jvacaa ➜ /workspaces/Empire/Empire/setup (master ✗) $ /..
bash: /..: Is a directory
@jvacaa ➜ /workspaces/Empire/Empire/setup (master ✗) $ ./
bash: ./: Is a directory
@jvacaa ➜ /workspaces/Empire/Empire/setup (master ✗) $ cd ..
@jvacaa ➜ /workspaces/Empire/Empire (master ✗) $ ./empire
File "/workspaces/Empire/Empire/./empire", line 35
print '[*] Fresh start in docker, running reset.sh for you'
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
SyntaxError: Missing parentheses in call to 'print'. Did you mean print(...)?
@jvacaa ➜ /workspaces/Empire/Empire (master ✗) $
@jvacaa ➜ /workspaces/Empire/Empire (master ✗) $ ls
changelog data Dockerfile empire lib LICENSE plugins README.md setup VERSION
@jvacaa ➜ /workspaces/Empire/Empire (master ✗) $ cd ..
@jvacaa ➜ /workspaces/Empire (master ✗) $ ls
changelog data Dockerfile empire Empire lib LICENSE plugins README.md setup VERSION
@jvacaa ➜ /workspaces/Empire (master ✗) $ ./empire
File "/workspaces/Empire/./empire", line 35
print '[*] Fresh start in docker, running reset.sh for you'
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
SyntaxError: Missing parentheses in call to 'print'. Did you mean print(...)?
@jvacaa ➜ /workspaces/Empire (master ✗) $ ls
changelog data Dockerfile empire Empire lib LICENSE plugins README.md setup VERSION
@jvacaa ➜ /workspaces/Empire (master ✗) $ ./setup
bash: ./setup: Is a directory
@jvacaa ➜ /workspaces/Empire (master ✗) $ cd setup
@jvacaa ➜ /workspaces/Empire/setup (master ✗) $ cd ..
@jvacaa ➜ /workspaces/Empire (master ✗) $ ls
changelog data Dockerfile empire Empire lib LICENSE plugins README.md setup VERSION
@jvacaa ➜ /workspaces/Empire (master ✗) $ ./Empire
bash: ./Empire: Is a directory
@jvacaa ➜ /workspaces/Empire (master ✗) $ ./Empire
bash: ./Empire: Is a directory
@jvacaa ➜ /workspaces/Empire (master ✗) $ ./Empire
bash: ./Empire: Is a directory
@jvacaa ➜ /workspaces/Empire (master ✗) $ cd setup
@jvacaa ➜ /workspaces/Empire/setup (master ✗) $ ./Empire
bash: ./Empire: No such file or directory
@jvacaa ➜ /workspaces/Empire/setup (master ✗) $ ls
cert.sh install.sh requirements.txt reset.sh setup_database.py
@jvacaa ➜ /workspaces/Empire/setup (master ✗) $ cd ..
@jvacaa ➜ /workspaces/Empire (master ✗) $ cd ..
@jvacaa ➜ /workspaces $ ls
Empire
@jvacaa ➜ /workspaces $ ./Empire
bash: ./Empire: Is a directory
@jvacaa ➜ /workspaces $ ./Empire
bash: ./Empire: Is a directory
@jvacaa ➜ /workspaces $ ./Empire
bash: ./Empire: Is a directory
@jvacaa ➜ /workspaces $ ./empire
bash: ./empire: No such file or directory
@jvacaa ➜ /workspaces $ .Eempire
bash: .Eempire: command not found
@jvacaa ➜ /workspaces $ ./Empire
bash: ./Empire: Is a directory
@jvacaa ➜ /workspaces $ l
Empire/
@jvacaa ➜ /workspaces $ ls
Empire
@jvacaa ➜ /workspaces $ ls
Empire
@jvacaa ➜ /workspaces $ ls
Empire
@jvacaa ➜ /workspaces $ ls
Empire
@jvacaa ➜ /workspaces $ ls
Empire
@jvacaa ➜ /workspaces $ ls
Empire
@jvacaa ➜ /workspaces $ ls
Empire
@jvacaa ➜ /workspaces $ /Empire
bash: /Empire: No such file or directory
@jvacaa ➜ /workspaces $ ./Empire
bash: ./Empire: Is a directory
@jvacaa ➜ /workspaces $ sudo apt install powershell-empire
Reading package lists... Done
Building dependency tree
Reading state information... Done
E: Unable to locate package powershell-empire
@jvacaa ➜ /workspaces $ ./Empire
bash: ./Empire: Is a directory
@jvacaa ➜ /workspaces $ ./Empire
bash: ./Empire: Is a directory
@jvacaa ➜ /workspaces $
Вот все что я писал

Я новичек в этой теме и не могу понять что делаю не так (
Вот ошибка - bash: ./Empire: Is a directory
Эхх от папки подзатыльник прилетит...

bash: ./Empire: Is a directory - Empire это директория...
 
Мы в соцсетях:

Обучение наступательной кибербезопасности в игровой форме. Начать игру!