Thursday, October 27, 2016

Fuzzy Assessment: Part 4 - SWAMP auto changes

The previous post left us with an error from the “./configure” process stating “config.h.in” was missing. You may have remembered an autotool that can help us with “config.in.h”. If we refer to the site below we see that “autoheader” helps us with this problem.

http://www.ifnamemain.com/posts/2014/Mar/13/autoconf_automake/



Let’s add that to our build process in the package.


Section 1: Auto all the things

  1. Log into the SWAMP
  2. Click on “Packages”
  3. Click on our package, which in our case is “OpenSSH 4.3 blog2”
  4. Scroll to the bottom and click on the “Version” number


  5. Click on “Build”


  6. Scroll to the bottom and click “Edit Build Info”


  7. We need to edit the “Configure command” section


  8. Right before “autoconf” we need to add in “autoheader; ” as below


  9. Scroll to the bottom and click “Save Build Info”. You may need to click this button twice to progress to the next screen.
  10. Click on “Details”
  11. Click on “Run New Assessment”
  12. Change the platform to “Red Hat Enterprise Linux 32-bit” and click “Save and Run”


  13. Click the checkbox if you want an email notification and click “Run Now”
  14. Click “OK” in the notification window
  15. Let’s see if this run is successful or not. The “Auto refresh” checkbox may already be checked to automatically update the screen with the progress of the build process.
  16. After a short period of time, this run will also fail
  17. Click the “!” exclamation point for Clang
  18. This time we have much more output than in previous assessments in the failure report. We are getting closer and very soon all of the right things will be done to make a successful assessment!
  19. Let’s examine the failure report



    < more lines from all kinds of tools working >


  20. The error with “Ssh.bin” is interesting. Let’s take a look at it more in-depth in the next post!

No comments:

Post a Comment