ptreport

Differences between revisions 1 and 11 (spanning 10 versions)
Revision 1 as of 2008-02-15 06:21:55
Size: 1338
Editor: host83-220-dynamic
Comment:
Revision 11 as of 2008-04-03 19:21:09
Size: 178
Editor: host253-147-dynamic
Comment:
Deletions are marked like this. Additions are marked like this.
Line 3: Line 3:
bash alpha version
{{{
#!/bin/bash
Please see and use:
https://code.edge.launchpad.net/ubuntu-whitehat-project/
Line 7: Line 6:
# 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
Line 13: Line 7:
# 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)
}}}
----
'''Sub-pages :''' [[Navigation(children,1)]]
----

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