adrian54 Posted April 18, 2021 Share Posted April 18, 2021 so i am using amazon lightsail vps and i started setting it up but when i run wget https://c2.hak5.org/dl -q -O c2.zip && unzip -qq c2.zip && \ IP=$(curl -s https://checkip.amazonaws.com) && \ echo "Copy the below setup token and browse to http://$IP:8080" && \ ./c2-*_amd64_linux -hostname $IP a bunch of errors mostly from unzip appear and nothing happens please help output below V____________V [c2.zip] End-of-central-directory signature not found. Either this file is not a zipfile, or it constitutes one disk of a multi-part archive. In the latter case the central directory and zipfile comment will be found on the last disk(s) of this archive.unzip: cannot find zipfile directory in one of c2.zip or c2.zip.zip, and cannot find c2.zip.ZIP, period. Link to comment Share on other sites More sharing options...
chrizree Posted April 18, 2021 Share Posted April 18, 2021 Something has probably gone wrong when downloading the zip file. Split it up instead to make sure every step is successful. Run: wget https://c2.hak5.org/dl -O c2.zip first and make sure the zip file is correctly downloaded. It should be about 46 MB in size (46 214 845). Then unzip it using unzip c2.zip Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.