Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #!/bin/bash
- # widhisec | simple code
- function banne3r(){
- printf "
- [ CREATE BY WIDHISEC ]
- [ fake-name-generator ]
- "
- read -p "berapa : " jumlah
- }
- banne3r
- function Get_Name(){
- requests=$'curl -Ls http://namegenerators.org/fake-name-generator/'
- response=$($requests |
- grep -Po '</div>.*</div>' | grep -Po 'col2">[^>]*</div>' | sed '/^\/ >/d' | sed -e 's/<[^>]*>//g' | cut -d\" -f2 | cut -d'>' -f2 | cut -d'<' -f1)
- printf "[=====================]\n"
- printf "%s\n" "${response}"
- }
- i=0;
- while [ $i -le $jumlah ];
- do
- Get_Name;
- let i=$i+1; #counter untuk mencapai batas
- done
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement