We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Empire Version
OS Information (Linux flavor, Python version)
Describe the bug A clear and concise description of what the bug is.
To Reproduce Steps to reproduce the behavior:
Error [SNIP] onfig.status: creating cfghdrs.stamp config.status: cfghdrs.stamp is unchanged config.status: creating include/config.h config.status: include/config.h is unchanged gcc -Wall -g -O2 -fPIC -DPIC -Iinclude -Iinclude -D_GNU_SOURCE -I/usr/include/libxml2 -c lib/archive.c -o lib/archive.o lib/archive.c: In function ‘xar_close’: lib/archive.c:469:6: warning: variable ‘ret’ set but not used [-Wunused-but-set-variable] 469 | int ret, retval = 0; | ^~~ lib/archive.c: In function ‘xar_unserialize’: lib/archive.c:1684:12: warning: variable ‘noattr’ set but not used [-Wunused-but-set-variable] 1684 | int type, noattr, ret; | ^~~~~~ lib/archive.c:1683:33: warning: variable ‘uri’ set but not used [-Wunused-but-set-variable] 1683 | const xmlChar *name, *prefix, *uri; | ^~~ lib/archive.c:1683:24: warning: variable ‘prefix’ set but not used [-Wunused-but-set-variable] 1683 | const xmlChar *name, *prefix, *uri; | ^~~~~~ gcc -Wall -g -O2 -fPIC -DPIC -Iinclude -Iinclude -D_GNU_SOURCE -I/usr/include/libxml2 -c lib/arcmod.c -o lib/arcmod.o gcc -Wall -g -O2 -fPIC -DPIC -Iinclude -Iinclude -D_GNU_SOURCE -I/usr/include/libxml2 -c lib/bzxar.c -o lib/bzxar.o gcc -Wall -g -O2 -fPIC -DPIC -Iinclude -Iinclude -D_GNU_SOURCE -I/usr/include/libxml2 -c lib/darwinattr.c -o lib/darwinattr.o gcc -Wall -g -O2 -fPIC -DPIC -Iinclude -Iinclude -D_GNU_SOURCE -I/usr/include/libxml2 -c lib/data.c -o lib/data.o gcc -Wall -g -O2 -fPIC -DPIC -Iinclude -Iinclude -D_GNU_SOURCE -I/usr/include/libxml2 -c lib/ea.c -o lib/ea.o gcc -Wall -g -O2 -fPIC -DPIC -Iinclude -Iinclude -D_GNU_SOURCE -I/usr/include/libxml2 -c lib/err.c -o lib/err.o gcc -Wall -g -O2 -fPIC -DPIC -Iinclude -Iinclude -D_GNU_SOURCE -I/usr/include/libxml2 -c lib/ext2.c -o lib/ext2.o gcc -Wall -g -O2 -fPIC -DPIC -Iinclude -Iinclude -D_GNU_SOURCE -I/usr/include/libxml2 -c lib/fbsdattr.c -o lib/fbsdattr.o gcc -Wall -g -O2 -fPIC -DPIC -Iinclude -Iinclude -D_GNU_SOURCE -I/usr/include/libxml2 -c lib/filetree.c -o lib/filetree.o lib/filetree.c: In function ‘xar_prop_next’: lib/filetree.c:353:7: warning: variable ‘err’ set but not used [-Wunused-but-set-variable] 353 | int err; | ^~~ lib/filetree.c:395:7: warning: variable ‘err’ set but not used [-Wunused-but-set-variable] 395 | int err; | ^~~ lib/filetree.c: In function ‘xar_file_next’: lib/filetree.c:850:8: warning: variable ‘err’ set but not used [-Wunused-but-set-variable] 850 | int err; | ^~~ lib/filetree.c: In function ‘xar_prop_unserialize’: lib/filetree.c:1058:10: warning: variable ‘err’ set but not used [-Wunused-but-set-variable] 1058 | int err; | ^~~ gcc -Wall -g -O2 -fPIC -DPIC -Iinclude -Iinclude -D_GNU_SOURCE -I/usr/include/libxml2 -c lib/io.c -o lib/io.o gcc -Wall -g -O2 -fPIC -DPIC -Iinclude -Iinclude -D_GNU_SOURCE -I/usr/include/libxml2 -c lib/lzmaxar.c -o lib/lzmaxar.o gcc -Wall -g -O2 -fPIC -DPIC -Iinclude -Iinclude -D_GNU_SOURCE -I/usr/include/libxml2 -c lib/linuxattr.c -o lib/linuxattr.o gcc -Wall -g -O2 -fPIC -DPIC -Iinclude -Iinclude -D_GNU_SOURCE -I/usr/include/libxml2 -c lib/hash.c -o lib/hash.o lib/hash.c: In function ‘xar_format_hash’: lib/hash.c:238:3: warning: ‘strncat’ output may be truncated copying 2 bytes from a string of length 2 [-Wstringop-truncation] 238 | strncat(result,hexValue,2); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ gcc -Wall -g -O2 -fPIC -DPIC -Iinclude -Iinclude -D_GNU_SOURCE -I/usr/include/libxml2 -c lib/signature.c -o lib/signature.o gcc -Wall -g -O2 -fPIC -DPIC -Iinclude -Iinclude -D_GNU_SOURCE -I/usr/include/libxml2 -c lib/stat.c -o lib/stat.o gcc -Wall -g -O2 -fPIC -DPIC -Iinclude -Iinclude -D_GNU_SOURCE -I/usr/include/libxml2 -c lib/subdoc.c -o lib/subdoc.o gcc -Wall -g -O2 -fPIC -DPIC -Iinclude -Iinclude -D_GNU_SOURCE -I/usr/include/libxml2 -c lib/util.c -o lib/util.o lib/util.c: In function ‘xar_get_path’: lib/util.c:97:7: warning: variable ‘err’ set but not used [-Wunused-but-set-variable] 97 | int err; | ^~~ gcc -Wall -g -O2 -fPIC -DPIC -Iinclude -Iinclude -D_GNU_SOURCE -I/usr/include/libxml2 -c lib/zxar.c -o lib/zxar.o gcc -Wall -g -O2 -fPIC -DPIC -Iinclude -Iinclude -D_GNU_SOURCE -I/usr/include/libxml2 -c lib/script.c -o lib/script.o gcc -Wall -g -O2 -fPIC -DPIC -Iinclude -Iinclude -D_GNU_SOURCE -I/usr/include/libxml2 -c lib/macho.c -o lib/macho.o gcc -shared -Wl,-soname,libxar.so.1 -o lib/librxar.so.1 lib/archive.o lib/arcmod.o lib/b64.o lib/bzxar.o lib/darwinattr.o lib/data.o lib/ea.o lib/err.o lib/ext2.o lib/fbsdattr.o lib/filetree.o lib/io.o lib/lzmaxar.o lib/linuxattr.o lib/hash.o lib/signature.o lib/stat.o lib/subdoc.o lib/util.o lib/zxar.o lib/script.o lib/macho.o -Llib -lz -lcrypto -lxml2 rm -f lib/librxar.so ln -s librxar.so.1 lib/librxar.so gcc -shared -Wl,-soname,libxar.so.1 -o lib/libxar.so.1 lib/archive.o lib/arcmod.o lib/b64.o lib/bzxar.o lib/darwinattr.o lib/data.o lib/ea.o lib/err.o lib/ext2.o lib/fbsdattr.o lib/filetree.o lib/io.o lib/lzmaxar.o lib/linuxattr.o lib/hash.o lib/signature.o lib/stat.o lib/subdoc.o lib/util.o lib/zxar.o lib/script.o lib/macho.o -Llib -lz -lcrypto -lxml2 rm -f lib/libxar.so ln -s libxar.so.1 lib/libxar.so sed -e s/@LIBXAR_SNAME@/libxar.so.1/ -e s/@LIBXAR_LNAME@/libxar.so/ -e s/@LIBXAR_ANAME@/libxar.a/ < lib/libxar.la.in > lib/libxar.la gcc -Wall -g -O2 -Iinclude -Iinclude -D_GNU_SOURCE -I/usr/include/libxml2 -c src/xar.c -o src/xar.o src/xar.c: In function ‘is_valid_dir’: src/xar.c:672:6: warning: variable ‘err’ set but not used [-Wunused-but-set-variable] 672 | int err, result, curdir = open(".", O_RDONLY); | ^~~ src/xar.c: In function ‘archive’: src/xar.c:1212:7: warning: variable ‘err’ set but not used [-Wunused-but-set-variable] 1212 | int err; | ^~~ src/xar.c: In function ‘main’: src/xar.c:1932:6: warning: variable ‘ret’ set but not used [-Wunused-but-set-variable] 1932 | int ret; | ^~~ src/xar.c: In function ‘signingCallback’: src/xar.c:974:2: warning: ‘strncpy’ output truncated before terminating nul copying 10 bytes from a string of the same length [-Wstringop-truncation] 974 | strncpy((char *)signed_data, "helloworld", 10); / debug */ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/xar.c: In function ‘replace_sign’: src/xar.c:778:2: warning: ‘strncpy’ specified bound depends on the length of the source argument [-Wstringop-overflow=] 778 | strncpy(new_xar_path, temp_dir, new_xar_path_len); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/xar.c:772:21: note: length computed here 772 | new_xar_path_len = strlen(temp_dir) + 12; | ^~~~~~~~~~~~~~~~ gcc -Wall -g -O2 -o src/xar src/xar.o -Wl,-rpath,/root/Desktop/Tools/Empire/setup/xar-1.6.1/lib -Llib lib/libxar.a -lz -lcrypto -lxml2 gcc -Wall -g -O2 -o src/ixar src/xar.o -Wl,-rpath,/usr/local/lib -Llib lib/libxar.so.1 -lz -lcrypto -lxml2 /usr/bin/install -c -d /usr/local/include/xar /usr/bin/install -c -m 0644 include/xar.h /usr/local/include/xar /usr/bin/install -c -d /usr/local/lib /usr/bin/install -c -m 0755 lib/libxar.so.1 /usr/local/lib rm -f /usr/local/lib/libxar.so ln -s libxar.so.1 /usr/local/lib/libxar.so /usr/bin/install -c -m 0644 lib/libxar.a /usr/local/lib /usr/bin/install -c -m 0644 lib/libxar.la /usr/local/lib /usr/bin/install -c -d /usr/local/bin /usr/bin/install -c -m 0755 src/ixar /usr/local/bin/xar /usr/bin/install -c -d /usr/local/share/man/man1 /usr/bin/install -c -m 0644 src/xar.1 /usr/local/share/man/man1 fatal: destination path 'bomutils' already exists and is not an empty directory. make: Nothing to be done for 'all'. 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 -m 0644 build/man/mkbom.1.gz build/man/dumpbom.1.gz build/man/lsbom.1.gz build/man/ls4mkbom.1.gz /usr/share/man/man1 Hit:1 https://download.docker.com/linux/debian buster InRelease Hit:2 http://kali.cs.nctu.edu.tw/kali kali-rolling InRelease Reading package lists... Done Building dependency tree Reading state information... Done 244 packages can be upgraded. Run 'apt list --upgradable' to see them. Reading package lists... Done Building dependency tree [SNIP]
Screenshots
The text was updated successfully, but these errors were encountered:
This issue is closed because it does not meet our issue template. Please resubmit with the correct template.
Sorry, something went wrong.
No branches or pull requests
Empire Version
OS Information (Linux flavor, Python version)
Describe the bug
A clear and concise description of what the bug is.
To Reproduce
Steps to reproduce the behavior:
Error
[SNIP]
onfig.status: creating cfghdrs.stamp
config.status: cfghdrs.stamp is unchanged
config.status: creating include/config.h
config.status: include/config.h is unchanged
gcc -Wall -g -O2 -fPIC -DPIC -Iinclude -Iinclude -D_GNU_SOURCE -I/usr/include/libxml2 -c lib/archive.c -o lib/archive.o
lib/archive.c: In function ‘xar_close’:
lib/archive.c:469:6: warning: variable ‘ret’ set but not used [-Wunused-but-set-variable]
469 | int ret, retval = 0;
| ^~~
lib/archive.c: In function ‘xar_unserialize’:
lib/archive.c:1684:12: warning: variable ‘noattr’ set but not used [-Wunused-but-set-variable]
1684 | int type, noattr, ret;
| ^~~~~~
lib/archive.c:1683:33: warning: variable ‘uri’ set but not used [-Wunused-but-set-variable]
1683 | const xmlChar *name, *prefix, *uri;
| ^~~
lib/archive.c:1683:24: warning: variable ‘prefix’ set but not used [-Wunused-but-set-variable]
1683 | const xmlChar *name, *prefix, *uri;
| ^~~~~~
gcc -Wall -g -O2 -fPIC -DPIC -Iinclude -Iinclude -D_GNU_SOURCE -I/usr/include/libxml2 -c lib/arcmod.c -o lib/arcmod.o
gcc -Wall -g -O2 -fPIC -DPIC -Iinclude -Iinclude -D_GNU_SOURCE -I/usr/include/libxml2 -c lib/bzxar.c -o lib/bzxar.o
gcc -Wall -g -O2 -fPIC -DPIC -Iinclude -Iinclude -D_GNU_SOURCE -I/usr/include/libxml2 -c lib/darwinattr.c -o lib/darwinattr.o
gcc -Wall -g -O2 -fPIC -DPIC -Iinclude -Iinclude -D_GNU_SOURCE -I/usr/include/libxml2 -c lib/data.c -o lib/data.o
gcc -Wall -g -O2 -fPIC -DPIC -Iinclude -Iinclude -D_GNU_SOURCE -I/usr/include/libxml2 -c lib/ea.c -o lib/ea.o
gcc -Wall -g -O2 -fPIC -DPIC -Iinclude -Iinclude -D_GNU_SOURCE -I/usr/include/libxml2 -c lib/err.c -o lib/err.o
gcc -Wall -g -O2 -fPIC -DPIC -Iinclude -Iinclude -D_GNU_SOURCE -I/usr/include/libxml2 -c lib/ext2.c -o lib/ext2.o
gcc -Wall -g -O2 -fPIC -DPIC -Iinclude -Iinclude -D_GNU_SOURCE -I/usr/include/libxml2 -c lib/fbsdattr.c -o lib/fbsdattr.o
gcc -Wall -g -O2 -fPIC -DPIC -Iinclude -Iinclude -D_GNU_SOURCE -I/usr/include/libxml2 -c lib/filetree.c -o lib/filetree.o
lib/filetree.c: In function ‘xar_prop_next’:
lib/filetree.c:353:7: warning: variable ‘err’ set but not used [-Wunused-but-set-variable]
353 | int err;
| ^~~
lib/filetree.c:395:7: warning: variable ‘err’ set but not used [-Wunused-but-set-variable]
395 | int err;
| ^~~
lib/filetree.c: In function ‘xar_file_next’:
lib/filetree.c:850:8: warning: variable ‘err’ set but not used [-Wunused-but-set-variable]
850 | int err;
| ^~~
lib/filetree.c: In function ‘xar_prop_unserialize’:
lib/filetree.c:1058:10: warning: variable ‘err’ set but not used [-Wunused-but-set-variable]
1058 | int err;
| ^~~
gcc -Wall -g -O2 -fPIC -DPIC -Iinclude -Iinclude -D_GNU_SOURCE -I/usr/include/libxml2 -c lib/io.c -o lib/io.o
gcc -Wall -g -O2 -fPIC -DPIC -Iinclude -Iinclude -D_GNU_SOURCE -I/usr/include/libxml2 -c lib/lzmaxar.c -o lib/lzmaxar.o
gcc -Wall -g -O2 -fPIC -DPIC -Iinclude -Iinclude -D_GNU_SOURCE -I/usr/include/libxml2 -c lib/linuxattr.c -o lib/linuxattr.o
gcc -Wall -g -O2 -fPIC -DPIC -Iinclude -Iinclude -D_GNU_SOURCE -I/usr/include/libxml2 -c lib/hash.c -o lib/hash.o
lib/hash.c: In function ‘xar_format_hash’:
lib/hash.c:238:3: warning: ‘strncat’ output may be truncated copying 2 bytes from a string of length 2 [-Wstringop-truncation]
238 | strncat(result,hexValue,2);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~
gcc -Wall -g -O2 -fPIC -DPIC -Iinclude -Iinclude -D_GNU_SOURCE -I/usr/include/libxml2 -c lib/signature.c -o lib/signature.o
gcc -Wall -g -O2 -fPIC -DPIC -Iinclude -Iinclude -D_GNU_SOURCE -I/usr/include/libxml2 -c lib/stat.c -o lib/stat.o
gcc -Wall -g -O2 -fPIC -DPIC -Iinclude -Iinclude -D_GNU_SOURCE -I/usr/include/libxml2 -c lib/subdoc.c -o lib/subdoc.o
gcc -Wall -g -O2 -fPIC -DPIC -Iinclude -Iinclude -D_GNU_SOURCE -I/usr/include/libxml2 -c lib/util.c -o lib/util.o
lib/util.c: In function ‘xar_get_path’:
lib/util.c:97:7: warning: variable ‘err’ set but not used [-Wunused-but-set-variable]
97 | int err;
| ^~~
gcc -Wall -g -O2 -fPIC -DPIC -Iinclude -Iinclude -D_GNU_SOURCE -I/usr/include/libxml2 -c lib/zxar.c -o lib/zxar.o
gcc -Wall -g -O2 -fPIC -DPIC -Iinclude -Iinclude -D_GNU_SOURCE -I/usr/include/libxml2 -c lib/script.c -o lib/script.o
gcc -Wall -g -O2 -fPIC -DPIC -Iinclude -Iinclude -D_GNU_SOURCE -I/usr/include/libxml2 -c lib/macho.c -o lib/macho.o
gcc -shared -Wl,-soname,libxar.so.1 -o lib/librxar.so.1 lib/archive.o lib/arcmod.o lib/b64.o lib/bzxar.o lib/darwinattr.o lib/data.o lib/ea.o lib/err.o lib/ext2.o lib/fbsdattr.o lib/filetree.o lib/io.o lib/lzmaxar.o lib/linuxattr.o lib/hash.o lib/signature.o lib/stat.o lib/subdoc.o lib/util.o lib/zxar.o lib/script.o lib/macho.o -Llib -lz -lcrypto -lxml2
rm -f lib/librxar.so
ln -s librxar.so.1 lib/librxar.so
gcc -shared -Wl,-soname,libxar.so.1 -o lib/libxar.so.1 lib/archive.o lib/arcmod.o lib/b64.o lib/bzxar.o lib/darwinattr.o lib/data.o lib/ea.o lib/err.o lib/ext2.o lib/fbsdattr.o lib/filetree.o lib/io.o lib/lzmaxar.o lib/linuxattr.o lib/hash.o lib/signature.o lib/stat.o lib/subdoc.o lib/util.o lib/zxar.o lib/script.o lib/macho.o -Llib -lz -lcrypto -lxml2
rm -f lib/libxar.so
ln -s libxar.so.1 lib/libxar.so
sed -e s/@LIBXAR_SNAME@/libxar.so.1/ -e s/@LIBXAR_LNAME@/libxar.so/ -e s/@LIBXAR_ANAME@/libxar.a/ < lib/libxar.la.in > lib/libxar.la
gcc -Wall -g -O2 -Iinclude -Iinclude -D_GNU_SOURCE -I/usr/include/libxml2 -c src/xar.c -o src/xar.o
src/xar.c: In function ‘is_valid_dir’:
src/xar.c:672:6: warning: variable ‘err’ set but not used [-Wunused-but-set-variable]
672 | int err, result, curdir = open(".", O_RDONLY);
| ^~~
src/xar.c: In function ‘archive’:
src/xar.c:1212:7: warning: variable ‘err’ set but not used [-Wunused-but-set-variable]
1212 | int err;
| ^~~
src/xar.c: In function ‘main’:
src/xar.c:1932:6: warning: variable ‘ret’ set but not used [-Wunused-but-set-variable]
1932 | int ret;
| ^~~
src/xar.c: In function ‘signingCallback’:
src/xar.c:974:2: warning: ‘strncpy’ output truncated before terminating nul copying 10 bytes from a string of the same length [-Wstringop-truncation]
974 | strncpy((char *)signed_data, "helloworld", 10); / debug */
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/xar.c: In function ‘replace_sign’:
src/xar.c:778:2: warning: ‘strncpy’ specified bound depends on the length of the source argument [-Wstringop-overflow=]
778 | strncpy(new_xar_path, temp_dir, new_xar_path_len);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/xar.c:772:21: note: length computed here
772 | new_xar_path_len = strlen(temp_dir) + 12;
| ^~~~~~~~~~~~~~~~
gcc -Wall -g -O2 -o src/xar src/xar.o -Wl,-rpath,/root/Desktop/Tools/Empire/setup/xar-1.6.1/lib -Llib lib/libxar.a -lz -lcrypto -lxml2
gcc -Wall -g -O2 -o src/ixar src/xar.o -Wl,-rpath,/usr/local/lib -Llib lib/libxar.so.1 -lz -lcrypto -lxml2
/usr/bin/install -c -d /usr/local/include/xar
/usr/bin/install -c -m 0644 include/xar.h /usr/local/include/xar
/usr/bin/install -c -d /usr/local/lib
/usr/bin/install -c -m 0755 lib/libxar.so.1 /usr/local/lib
rm -f /usr/local/lib/libxar.so
ln -s libxar.so.1 /usr/local/lib/libxar.so
/usr/bin/install -c -m 0644 lib/libxar.a /usr/local/lib
/usr/bin/install -c -m 0644 lib/libxar.la /usr/local/lib
/usr/bin/install -c -d /usr/local/bin
/usr/bin/install -c -m 0755 src/ixar /usr/local/bin/xar
/usr/bin/install -c -d /usr/local/share/man/man1
/usr/bin/install -c -m 0644 src/xar.1 /usr/local/share/man/man1
fatal: destination path 'bomutils' already exists and is not an empty directory.
make: Nothing to be done for 'all'.
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 -m 0644 build/man/mkbom.1.gz build/man/dumpbom.1.gz build/man/lsbom.1.gz build/man/ls4mkbom.1.gz /usr/share/man/man1
Hit:1 https://download.docker.com/linux/debian buster InRelease
Hit:2 http://kali.cs.nctu.edu.tw/kali kali-rolling InRelease
Reading package lists... Done
Building dependency tree
Reading state information... Done
244 packages can be upgraded. Run 'apt list --upgradable' to see them.
Reading package lists... Done
Building dependency tree
[SNIP]
Screenshots
The text was updated successfully, but these errors were encountered: