ptreport

Differences between revisions 1 and 3 (spanning 2 versions)
Revision 1 as of 2008-02-15 06:21:55
Size: 1338
Editor: host83-220-dynamic
Comment:
Revision 3 as of 2008-02-17 21:44:36
Size: 142
Editor: host83-220-dynamic
Comment:
Deletions are marked like this. Additions are marked like this.
Line 3: Line 3:
bash alpha version
{{{
#!/bin/bash

# ptreport V 0.0.1 Alpha
# (C) 2008 Ubuntu Pentest, Emanuele Gentili
# Authors
# Emanuele Gentili <emgent@emanuele-gentili.com>
# GPLv2, see /usr/share/common-licenses/GPL

# Show ubuntu-pentest code of conduct
more "up-coc.txt"
echo "Do you accept Ubuntu Pentest Code of Conduct? (y/n)"
read coc

case ${coc} in
     Y|y) ;;
[Yy][Ee][Ss]) ;;
     N|n) exit ;;
[Nn][Oo]) exit ;;
       *) exit ;;
esac

# Insert informations
echo "Please insert your Launchpad ID: "
read l_id
echo "Please insert your current IP: "
read pt_ip
echo "Please, enter the name of the platform where you make pt: "
read infra_name

# Including CoC in *-report.txt
cat up-coc.txt >> ${infra_name}-report.txt

echo "
      Ubuntu Pentest Evangelist Informations:
      USER: https://edge.launchpad.net/~${l_id}
      IP: ${pt_ip}

     
      * Starting Report for ${infra_name}:
     
     
      
     " >> ${infra_name}-report.txt

# Write report
nano ${infra_name}-report.txt

# gpg sign
gpg --clearsign ${infra_name}-report.txt

# Move signed report for attach in bug
mv ${infra_name}-report.txt.asc ${infra_name}-report.txt

# launchpd sending bug ... (we will add python-launchpad-bugs script for automated open bugs)
}}}
'''anateater'' V 0.1 alpha [http://thc.emanuele-gentili.com/~emgent/anateater/anteater.py anateater.py]

UbuntuPentest/ptreport (last edited 2008-08-06 16:40:37 by localhost)