ducmerida / o2platform

Automatically exported from code.google.com/p/o2platform
0 stars 0 forks source link

Create XRules that downloads the list of current users on a particular OWASP mailing list #23

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
Description?
Here is an example of a bash script that does this

#!/bin/bash
# quick and dirty OWASP member scraping script
# eduprey 5/11/09

rm -f newlist

for LTR in a b c d e f g h i j k l m n o p q r s t u v w x y z; do
 curl -3kx localhost:8080 -b 'owasp-denver+admin=123456789'
'https://lists.owasp.org/mailman/admin/owasp-denver/members?
letter='"$LTR" \
 | grep _realname|sed s/'.*<td><a href=".*">'/''/g|sed
s/'<\/a>.*'/''/g>>newlist
done

cat newlist|sort|uniq > owasp-members.list

cheers

Why?
Good example of O2 scripting capability

Original issue reported on code.google.com by dinis.c...@gmail.com on 12 Jan 2010 at 11:33