Skip to content
KitploitKITPLOIT
StrumentiBlog
Invia
StrumentiBlog
Invia

Strumenti di Hacking, PenTest e Cybersecurity per il tuo Arsenale di Sicurezza!

Kitploit è una directory di strumenti di hacking, cybersecurity e pentesting. Scopri gli ultimi aggiornamenti dei progetti per trovare vulnerabilità, analizzare sistemi, automatizzare i test e rafforzare la tua sicurezza.

··Feed·Contatto·Privacy·© 2026 Kitploit

Directory degli strumenti

Categorie

Vedi tutte le categorie
Loading categories
cfengine-CVE_2015_0235 — Exploit di buffer overflow in gethostbyname*() in glibc - CVE-2015-0235 https://community.qualys.com/blogs/laws-of-vulnerabilities/2015/01/27/the-ghost-vulnerability | Kitploit
Strumenti/GitHubGitHub/nickanderson/cfengine-cve_2015_0235
Analisi delle VulnerabilitàExploitPenetration TestingRed TeamingSviluppo PayloadBinary Exploitation
GitHubnickanderson/cfengine-cve_2015_0235

cfengine-CVE_2015_0235

Exploit di buffer overflow in gethostbyname*() in glibc - CVE-2015-0235 https://community.qualys.com/blogs/laws-of-vulnerabilities/2015/01/27/the-ghost-vulnerability

Più Popolari

Vedi tutti →

Scopri gli strumenti più utilizzati dalla nostra community.

Esplora tutti gli strumenti

Sfoglia la nostra collezione di strumenti

Vedi tutti gli strumenti →
Condividi
Vedi Repository
111 anni faNon ancora revisionato
  • CVE_2015_0235 Exploit di buffer overflow in gethostbyname*() in glibc - CVE-2015-0235 https://community.qualys.com/blogs/laws-of-vulnerabilities/2015/01/27/the-ghost-vulnerability

Originariamente tratto dal post di Ben Bomgardner alla mailing list help-cfengine. https://groups.google.com/forum/#!topic/help-cfengine/tWjOlO19Mrw

  • Integrazione in masterfiles

** Scarica la policy ed estraila nella tua directory masterfiles

#+begin_src sh MASTERFILES=/home/nickanderson/CFEngine/masterfiles wget https://github.com/nickanderson/CVE_2015_0235/archive/master.tar.gz -O /tmp/CVE_2015_0235.tar.gz tar --directory "$MASTERFILES/services" -zxvf /tmp/CVE_2015_0235.tar.gz #+end_src

** L'exploit di test deve essere compilato.

#+begin_src sh cd $MASTERFILES/services/CVE_2015_2035/bins gcc GHOST.c -o GHOST_CVE-2015-0235 #+end_src

** Includi il percorso di def.cf in inputs

#+begin_src cfengine body common control { inputs => { # Reports @(cfengine_reports.inputs),

root@kitploit:~
                # If you want to activate this policy from autorun,
                # then it needs to be included before autorun
                # inptus.
                "services/CVE_2015_0235/def.cf",
                
                # autorun system
                @(services_autorun.inputs),
    };

} #+end_src

  • Attivalo nella tua policy (con autorun)

Crea /masterfiles/services/autorun/CVE_2015_0235.cf con il seguente contenuto.

#+begin_src cfengine bundle agent CVE_2015_0235 { meta: # Make sure we get activated "tags" slist => { "autorun" };

root@kitploit:~
classes:
  any::
    # Enable the features we want
    "enable_CVE_2015_0235_inventory" expression => "any";

methods:
      # Make sure that the control bundle has converged
    "CVE_2015_0235"
      usebundle => CVE_2015_0235_def_file_control,
      comment => "Activate each enabled policy";
    
  # Activate the features we want if they are enabled
  enable_CVE_2015_0235_inventory::
    "CVE_2015_0235"
      usebundle => CVE_2015_0235_inventory,
      comment => "We want to know where we are vulnerable";

reports:
  DEBUG|DEBUG_CVE_2015_0235::
    "Activated: '$(this.bundle)' in '$(this.promise_filename)'";

} #+end_src

Scarica lo strumento