Skip to content

Commit

Permalink
q
Browse files Browse the repository at this point in the history
Various DNS and HTTP test strings and minor modifications to default permissions shell script..
  • Loading branch information
decal committed Dec 17, 2016
1 parent f49b868 commit 361dc23
Show file tree
Hide file tree
Showing 8 changed files with 2,330 additions and 5 deletions.
2,246 changes: 2,246 additions & 0 deletions dns-domains/azure-domain-names.txt

Large diffs are not rendered by default.

1 change: 1 addition & 0 deletions dns-domains/index.lst
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
azure-domain-names: list of domain names from a reverse lookup on 64.4.6.100
cctld-char-pairs: a list of ccTLD's, i.e. country code top level domains)
com-domain-names: various commercial domain names
edu-domain-names: various educational domain names
Expand Down
2 changes: 2 additions & 0 deletions environ-names/glibc-environ-names.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
GETCONF_DIR
ARGP_HELP_FMT
1 change: 1 addition & 0 deletions http-headers/http-request-headers.txt
Original file line number Diff line number Diff line change
Expand Up @@ -114,6 +114,7 @@ Sec-WebSocket-Version
Sender
Server
Set-Cookie
Set-Cookie2
SLUG
Strict-Transport-Security
Subject
Expand Down
2 changes: 2 additions & 0 deletions http-security/index.lst
Original file line number Diff line number Diff line change
@@ -1,2 +1,4 @@
content-policy-directives: Content Security Policy directives from HTTP replies
query-variable-names: Commonly lucrative HTTP GET query variable names
query-variable-values: Typical HTTP GET query variable values
referrer-policy-directives: W3C Referrer Policy directives from HTTP replies
45 changes: 45 additions & 0 deletions http-security/query-variable-names.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,45 @@
debug
admin
auth
url
uri
secure
insecure
safe
unsafe
setup
install
edit
owner
private
internal
webmaster
root
user
target
host
log
file
logfile
logging
server
service
svc
site
dev
qa
owner
staging
env
a
b
c
d
e
i
o
u
x
y
z
q
15 changes: 15 additions & 0 deletions http-security/query-variable-values.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
true
false
0
1
yes
no
+
none
all
localhost
127.0.0.1
80
443
http
https
23 changes: 18 additions & 5 deletions scripts/set-def-perms
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,8 @@
readonly WRDLS_MDRDM='README.md'
readonly WRDLS_COLOR='scripts/colors'
readonly WRDLS_COUNT=4
readonly WRDLS_OWNER=( [ $USER ] && $USER || $LOGNAME )
readonly WRDLS_GROUP=staff

# descend the tree until the werdlists project README.md file is recognized
until [ -f $WRDLS_MDRDM ]
Expand All @@ -29,12 +31,23 @@ done

[ -f $WRDLS_COLOR ] && source -- $WRDLS_COLOR

chown -R super:staff .
echo -ne "\n${invon}"

chown -Rv ${WRDLS_OWNER}:${WRDLS_GROUP} ./*

echo -e "${reset}\n"

# avoid the hidden ".git" repository directory
find . -type d -not -iname '.*' -exec chmod 0750 {} \;
find . -type f -iname '*.*' -exec chmod 0640 {} \;
find . -type f -iname 'index.lst' -exec chmod 0664 {} \;
find scripts -type f -exec chmod 0750 {} \;
echo -ne "\n${redf}"
nice find . -type d -not -iname '.*' -exec chmod -v 0751 {} \;
echo -ne "\n${reset}${white}"
nice find . -type f -iname '*.txt' -exec chmod -v 0644 {} \;
echo -ne "\n${reset}${greenf}"
nice find . -type f -iname '*.bin' -exec chmod -v 0444 {} \;
echo -ne "\n${reset}${cyanf}"
nice find . -type f -iname '*.lst' -exec chmod -v 0664 {} \;
echo -ne "\n${reset}${greenf}"
nice find scripts -type f -exec chmod -v 0751 {} \;
echo -e "${reset}"

exit 0

0 comments on commit 361dc23

Please sign in to comment.