Open BrunoBsilva opened 2 years ago
Hi, thanks for submitting. What lab is this for?
Hi, the problem is at step 9 of the cloudSetup (https://github.com/GrayHatHacking/GHHv6/tree/main/CloudSetup).
This looks like something is going on with your perl install with libcrypt. You may want to try to do an apt-get update and a apt --fix-broken install. These are dpkg error messages and not packer or bash, so if that doesn't fix it, you may need to do an apt-get upgrade and then try again with the execution. Let us know how it goes.
The above issue is very frustrating. Tried to build the kali image on kali, debain 10 & 11. All end up with the same result. Googled it and tried all that applied, same result. Ran build-images on cloudshell with no response, just hangs, doesn't create the packer instance. I've invested a lot of time here, was into the book and looking forward to finishing it., but that won't happen unless you help me. Just can't build kali, the window server images built fine. Can I incorporate a kali instance I created on AWS in the labs? If so, how?
Which chapters can I review without the kali image?
Sorry you are having issues. What lab are you talking about and can you provide errors, etc? Is this the cloud setup lab, as other person stated that or something different?
Allen Harper
From: illbegood1 @.> Sent: Wednesday, September 7, 2022 11:05:50 PM To: GrayHatHacking/GHHv6 @.> Cc: Allen Harper @.>; Comment @.> Subject: Re: [GrayHatHacking/GHHv6] build-images.sh - Unable to create kali-base image (Issue #3)
The above issue is very frustrating. Tried to build the kali image on kali, debain 10 & 11. All end up with the same result. Googled it and tried all that applied, same result. Ran build-images on cloudshell with no response, just hangs, doesn't create the packer instance. I've invested a lot of time here, was into the book and looking forward to finishing it., but that won't happen unless you help me. Just can't build kali, the window server images built fine. Can I incorporate a kali instance I created on AWS in the labs? If so, how?
— Reply to this email directly, view it on GitHubhttps://github.com/GrayHatHacking/GHHv6/issues/3#issuecomment-1240161262, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AAKE6AEZH4MVHFGIFSCWILDV5FJY5ANCNFSM52GWL33Q. You are receiving this because you commented.Message ID: @.***>
The lab in chapter 7. The error is the same as the issue above mine. libcrypt.so.1 not found. Tried all the applied. Coundn't create the Kali image. Try creating it from Kali, Debian 10 & 11. The same issue, can't find shared lib libcrypto.so.1. It's part of another package, installed it, but keep getting the same error.
-----Original Message----- From: Allen Harper @.> To: GrayHatHacking/GHHv6 @.> Cc: illbegood1 @.>; Comment @.> Sent: Thu, Sep 8, 2022 2:57 pm Subject: Re: [GrayHatHacking/GHHv6] build-images.sh - Unable to create kali-base image (Issue #3)
Sorry you are having issues. What lab are you talking about and can you provide errors, etc?
Allen Harper
From: illbegood1 @.> Sent: Wednesday, September 7, 2022 11:05:50 PM To: GrayHatHacking/GHHv6 @.> Cc: Allen Harper @.>; Comment @.> Subject: Re: [GrayHatHacking/GHHv6] build-images.sh - Unable to create kali-base image (Issue #3)
The above issue is very frustrating. Tried to build the kali image on kali, debain 10 & 11. All end up with the same result. Googled it and tried all that applied, same result. Ran build-images on cloudshell with no response, just hangs, doesn't create the packer instance. I've invested a lot of time here, was into the book and looking forward to finishing it., but that won't happen unless you help me. Just can't build kali, the window server images built fine. Can I incorporate a kali instance I created on AWS in the labs? If so, how?
— Reply to this email directly, view it on GitHubhttps://github.com/GrayHatHacking/GHHv6/issues/3#issuecomment-1240161262, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AAKE6AEZH4MVHFGIFSCWILDV5FJY5ANCNFSM52GWL33Q. You are receiving this because you commented.Message ID: @.> — Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you commented.Message ID: @.>
I'll rebuild this from a fresh kali image and troubleshoot. Thanks for the heads up that this is still not working for you.
The above issue is very frustrating. Tried to build the kali image on kali, debain 10 & 11. All end up with the same result. Googled it and tried all that applied, same result. Ran build-images on cloudshell with no response, just hangs, doesn't create the packer instance. I've invested a lot of time here, was into the book and looking forward to finishing it., but that won't happen unless you help me. Just can't build kali, the window server images built fine. Can I incorporate a kali instance I created on AWS in the labs? If so, how?
To answer your question here, can you run through some of the labs with a different AWS or standalone Kali instance? The answer for the cloud chapters is yes, you can. There may be some modifications in the book you have to make where private IPs are referenced if your kali is not in the Cloud. I am not 100% of the other chapters if there are things that require Kali packages.
As for the actual build, if it is broken, I would let @sussurro take a look at it as I believe he would be able to sort it out.
I updated the Kali image, there were a few things that had to be modified. You should be able to re-pull the archive and try again. If you see errors, please post here and I'll take a look at what else may be going on.
==> amazon-ebs: Error: Timeout was reached ==> amazon-ebs: E: Sub-process /usr/bin/dpkg returned an error code (1) ==> amazon-ebs: Provisioning step had errors: Running the cleanup provisioner, if present... ==> amazon-ebs: Terminating the source AWS instance... ==> amazon-ebs: Cleaning up any extra volumes... ==> amazon-ebs: No volumes to clean up, skipping ==> amazon-ebs: Deleting temporary security group... ==> amazon-ebs: Deleting temporary keypair... Build 'amazon-ebs' errored after 9 minutes 35 seconds: Script exited with non-zero exit status: 100.Allowed exit codes are: [0]
==> Wait completed after 9 minutes 35 seconds
==> Some builds didn't complete successfully and had errors: --> amazon-ebs: Script exited with non-zero exit status: 100.Allowed exit codes are: [0]
==> Builds finished but no artifacts were created.