trustedsec / spraywmi

SprayWMI is an easy way to get mass shells on systems that support WMI. Much more effective than PSEXEC as it does not leave remnants on a system.
253 stars 72 forks source link

Kali Linux Error when launching #6

Open cegi opened 7 years ago

cegi commented 7 years ago

[!] Looks like you have an issue with wmis - this is most likely because you are on a 64 bit platform and need a couple things first.. [!] If on Ubuntu run command to fix: dpkg --add-architecture i386 && apt-get update && apt-get install libpam0g:i386 libpopt0:i386

I tried the above commands, but i still get the error, is it only for Ubuntu ? Thanks

dustyb commented 7 years ago

same issue here

sudo dpkg --add-architecture i386 && apt-get update && apt-get install libpam0g:i386 && apt-get install libpopt0:i386
Reading package lists... Done
W: chmod 0700 of directory /var/lib/apt/lists/partial failed - SetupAPTPartialDirectory (1: Operation not permitted)
E: Could not open lock file /var/lib/apt/lists/lock - open (13: Permission denied)
E: Unable to lock directory /var/lib/apt/lists/
W: Problem unlinking the file /var/cache/apt/pkgcache.bin - RemoveCaches (13: Permission denied)
W: Problem unlinking the file /var/cache/apt/srcpkgcache.bin - RemoveCaches (13: Permission denied)
xizhimen commented 4 years ago

@cegi https://popped.io/fixing-wmis-in-spraywmi/