moved doc and tests into subdirs
This commit is contained in:
33
tests/test1_first_run.log
Normal file
33
tests/test1_first_run.log
Normal file
@ -0,0 +1,33 @@
|
||||
|
||||
Version: 1.0 (created: 2016-10-18)
|
||||
|
||||
This is the first run.
|
||||
|
||||
This run was starting at: Di 18. Okt 22:37:14 UTC 2016
|
||||
|
||||
Mirroring website...
|
||||
|
||||
2016-10-19 00:37:14 URL:http://bad.guy.local/ [638/638] -> "./20161018T223714UTC/bad.guy.local/index.html" [1]
|
||||
2016-10-19 00:37:14 URL:http://bad.guy.local/favicon.ico [575/575] -> "./20161018T223714UTC/bad.guy.local/favicon.ico" [1]
|
||||
2016-10-19 00:37:14 URL:http://bad.guy.local/css/theme.css [310/310] -> "./20161018T223714UTC/bad.guy.local/css/theme.css" [1]
|
||||
2016-10-19 00:37:14 URL:http://bad.guy.local/.about_me.html [805/805] -> "./20161018T223714UTC/bad.guy.local/.about_me.html" [1]
|
||||
2016-10-19 00:37:14 URL:http://bad.guy.local/my%20job.html [652/652] -> "./20161018T223714UTC/bad.guy.local/my job.html" [1]
|
||||
2016-10-19 00:37:14 URL:http://bad.guy.local/hobby/index.html [873/873] -> "./20161018T223714UTC/bad.guy.local/hobby/index.html" [1]
|
||||
2016-10-19 00:37:14 URL:http://bad.guy.local/img/logo.png [3882/3882] -> "./20161018T223714UTC/bad.guy.local/img/logo.png" [1]
|
||||
2016-10-19 00:37:14 URL:http://bad.guy.local/index.html [638/638] -> "./20161018T223714UTC/bad.guy.local/index.html" [1]
|
||||
2016-10-19 00:37:14 URL:http://bad.guy.local/js/script.js [191/191] -> "./20161018T223714UTC/bad.guy.local/js/script.js" [1]
|
||||
2016-10-19 00:37:14 URL:http://bad.guy.local/hobby/pic1.png [3820/3820] -> "./20161018T223714UTC/bad.guy.local/hobby/pic1.png" [1]
|
||||
2016-10-19 00:37:14 URL:http://bad.guy.local/hobby/pic2.png [4105/4105] -> "./20161018T223714UTC/bad.guy.local/hobby/pic2.png" [1]
|
||||
2016-10-19 00:37:14 URL:http://bad.guy.local/hobby/pic3.png [4163/4163] -> "./20161018T223714UTC/bad.guy.local/hobby/pic3.png" [1]
|
||||
BEENDET --2016-10-19 00:37:14--
|
||||
Verstrichene Zeit: 0,006s
|
||||
Geholt: 12 Dateien, 20K in 0s (711 MB/s)
|
||||
|
||||
Files are stored in ./20161018T223714UTC/bad.guy.local
|
||||
|
||||
Calculationg hash values...
|
||||
|
||||
The hashfile ./20161018T223714UTC/openssl_dgst-md5.txt was successfully generated
|
||||
|
||||
The script has successfully finished.
|
||||
|
37
tests/test2_second_clean_run.log
Normal file
37
tests/test2_second_clean_run.log
Normal file
@ -0,0 +1,37 @@
|
||||
|
||||
Version: 1.0 (created: 2016-10-18)
|
||||
|
||||
The directory of the last run is: ./20161018T223714UTC
|
||||
|
||||
This run was starting at: Di 18. Okt 22:52:52 UTC 2016
|
||||
|
||||
Mirroring website...
|
||||
|
||||
2016-10-19 00:52:52 URL:http://bad.guy.local/ [638/638] -> "./20161018T225252UTC/bad.guy.local/index.html" [1]
|
||||
2016-10-19 00:52:52 URL:http://bad.guy.local/favicon.ico [575/575] -> "./20161018T225252UTC/bad.guy.local/favicon.ico" [1]
|
||||
2016-10-19 00:52:52 URL:http://bad.guy.local/css/theme.css [310/310] -> "./20161018T225252UTC/bad.guy.local/css/theme.css" [1]
|
||||
2016-10-19 00:52:52 URL:http://bad.guy.local/.about_me.html [805/805] -> "./20161018T225252UTC/bad.guy.local/.about_me.html" [1]
|
||||
2016-10-19 00:52:52 URL:http://bad.guy.local/my%20job.html [652/652] -> "./20161018T225252UTC/bad.guy.local/my job.html" [1]
|
||||
2016-10-19 00:52:52 URL:http://bad.guy.local/hobby/index.html [873/873] -> "./20161018T225252UTC/bad.guy.local/hobby/index.html" [1]
|
||||
2016-10-19 00:52:52 URL:http://bad.guy.local/img/logo.png [3882/3882] -> "./20161018T225252UTC/bad.guy.local/img/logo.png" [1]
|
||||
2016-10-19 00:52:52 URL:http://bad.guy.local/index.html [638/638] -> "./20161018T225252UTC/bad.guy.local/index.html" [1]
|
||||
2016-10-19 00:52:52 URL:http://bad.guy.local/js/script.js [191/191] -> "./20161018T225252UTC/bad.guy.local/js/script.js" [1]
|
||||
2016-10-19 00:52:52 URL:http://bad.guy.local/hobby/pic1.png [3820/3820] -> "./20161018T225252UTC/bad.guy.local/hobby/pic1.png" [1]
|
||||
2016-10-19 00:52:52 URL:http://bad.guy.local/hobby/pic2.png [4105/4105] -> "./20161018T225252UTC/bad.guy.local/hobby/pic2.png" [1]
|
||||
2016-10-19 00:52:52 URL:http://bad.guy.local/hobby/pic3.png [4163/4163] -> "./20161018T225252UTC/bad.guy.local/hobby/pic3.png" [1]
|
||||
BEENDET --2016-10-19 00:52:52--
|
||||
Verstrichene Zeit: 0,005s
|
||||
Geholt: 12 Dateien, 20K in 0s (736 MB/s)
|
||||
|
||||
Files are stored in ./20161018T225252UTC/bad.guy.local
|
||||
|
||||
Calculationg hash values...
|
||||
|
||||
The hashfile ./20161018T225252UTC/openssl_dgst-md5.txt was successfully generated
|
||||
|
||||
Searching for differnences...
|
||||
|
||||
... done.
|
||||
|
||||
The script has successfully finished.
|
||||
|
42
tests/test3_changes.log
Normal file
42
tests/test3_changes.log
Normal file
@ -0,0 +1,42 @@
|
||||
|
||||
Version: 1.0 (created: 2016-10-18)
|
||||
|
||||
The directory of the last run is: ./20161018T225252UTC
|
||||
|
||||
This run was starting at: Di 18. Okt 22:53:47 UTC 2016
|
||||
|
||||
Mirroring website...
|
||||
|
||||
2016-10-19 00:53:47 URL:http://bad.guy.local/ [638/638] -> "./20161018T225347UTC/bad.guy.local/index.html" [1]
|
||||
2016-10-19 00:53:47 URL:http://bad.guy.local/favicon.ico [575/575] -> "./20161018T225347UTC/bad.guy.local/favicon.ico" [1]
|
||||
2016-10-19 00:53:47 URL:http://bad.guy.local/css/theme.css [310/310] -> "./20161018T225347UTC/bad.guy.local/css/theme.css" [1]
|
||||
2016-10-19 00:53:47 URL:http://bad.guy.local/.about_me.html [805/805] -> "./20161018T225347UTC/bad.guy.local/.about_me.html" [1]
|
||||
2016-10-19 00:53:47 URL:http://bad.guy.local/my%20job.html [652/652] -> "./20161018T225347UTC/bad.guy.local/my job.html" [1]
|
||||
2016-10-19 00:53:47 URL:http://bad.guy.local/hobby/index.html [876/876] -> "./20161018T225347UTC/bad.guy.local/hobby/index.html" [1]
|
||||
2016-10-19 00:53:47 URL:http://bad.guy.local/img/logo.png [3882/3882] -> "./20161018T225347UTC/bad.guy.local/img/logo.png" [1]
|
||||
2016-10-19 00:53:47 URL:http://bad.guy.local/index.html [638/638] -> "./20161018T225347UTC/bad.guy.local/index.html" [1]
|
||||
2016-10-19 00:53:47 URL:http://bad.guy.local/js/script.js [191/191] -> "./20161018T225347UTC/bad.guy.local/js/script.js" [1]
|
||||
2016-10-19 00:53:47 URL:http://bad.guy.local/hobby/pic1.png [3688/3688] -> "./20161018T225347UTC/bad.guy.local/hobby/pic1.png" [1]
|
||||
2016-10-19 00:53:47 URL:http://bad.guy.local/hobby/pic_two.png [4105/4105] -> "./20161018T225347UTC/bad.guy.local/hobby/pic_two.png" [1]
|
||||
2016-10-19 00:53:47 URL:http://bad.guy.local/hobby/pic4.png [3968/3968] -> "./20161018T225347UTC/bad.guy.local/hobby/pic4.png" [1]
|
||||
BEENDET --2016-10-19 00:53:47--
|
||||
Verstrichene Zeit: 0,006s
|
||||
Geholt: 12 Dateien, 20K in 0s (758 MB/s)
|
||||
|
||||
Files are stored in ./20161018T225347UTC/bad.guy.local
|
||||
|
||||
Calculationg hash values...
|
||||
|
||||
The hashfile ./20161018T225347UTC/openssl_dgst-md5.txt was successfully generated
|
||||
|
||||
Searching for differnences...
|
||||
|
||||
Symbolic link of deleted file ./bad.guy.local/hobby/pic3.png was created in ./20161018T225347UTC/deleted_files
|
||||
Symbolic link of modified/exchanged file ./bad.guy.local/hobby/pic1.png was created in ./20161018T225347UTC/modified_files
|
||||
Symbolic link of modified/exchanged file ./bad.guy.local/hobby/index.html was created in ./20161018T225347UTC/modified_files
|
||||
Symbolic link of renamed/moved file ./bad.guy.local/hobby/pic2.png was created in ./20161018T225347UTC/renamed_files
|
||||
Symbolic link of new added file ./bad.guy.local/hobby/pic4.png was created in ./20161018T225347UTC/new_files
|
||||
... done.
|
||||
|
||||
The script has successfully finished.
|
||||
|
47
tests/test4_search.log
Normal file
47
tests/test4_search.log
Normal file
@ -0,0 +1,47 @@
|
||||
|
||||
Version: 1.0 (created: 2016-10-18)
|
||||
|
||||
The directory of the last run is: ./20161018T225347UTC
|
||||
|
||||
This run was starting at: Di 18. Okt 22:54:18 UTC 2016
|
||||
|
||||
Mirroring website...
|
||||
|
||||
2016-10-19 00:54:18 URL:http://bad.guy.local/ [638/638] -> "./20161018T225418UTC/bad.guy.local/index.html" [1]
|
||||
2016-10-19 00:54:18 URL:http://bad.guy.local/favicon.ico [575/575] -> "./20161018T225418UTC/bad.guy.local/favicon.ico" [1]
|
||||
2016-10-19 00:54:18 URL:http://bad.guy.local/css/theme.css [310/310] -> "./20161018T225418UTC/bad.guy.local/css/theme.css" [1]
|
||||
2016-10-19 00:54:18 URL:http://bad.guy.local/.about_me.html [805/805] -> "./20161018T225418UTC/bad.guy.local/.about_me.html" [1]
|
||||
2016-10-19 00:54:18 URL:http://bad.guy.local/my%20job.html [652/652] -> "./20161018T225418UTC/bad.guy.local/my job.html" [1]
|
||||
2016-10-19 00:54:18 URL:http://bad.guy.local/hobby/index.html [876/876] -> "./20161018T225418UTC/bad.guy.local/hobby/index.html" [1]
|
||||
2016-10-19 00:54:18 URL:http://bad.guy.local/img/logo.png [3882/3882] -> "./20161018T225418UTC/bad.guy.local/img/logo.png" [1]
|
||||
2016-10-19 00:54:18 URL:http://bad.guy.local/index.html [638/638] -> "./20161018T225418UTC/bad.guy.local/index.html" [1]
|
||||
2016-10-19 00:54:18 URL:http://bad.guy.local/js/script.js [191/191] -> "./20161018T225418UTC/bad.guy.local/js/script.js" [1]
|
||||
2016-10-19 00:54:18 URL:http://bad.guy.local/hobby/pic1.png [3688/3688] -> "./20161018T225418UTC/bad.guy.local/hobby/pic1.png" [1]
|
||||
2016-10-19 00:54:18 URL:http://bad.guy.local/hobby/pic_two.png [4105/4105] -> "./20161018T225418UTC/bad.guy.local/hobby/pic_two.png" [1]
|
||||
2016-10-19 00:54:18 URL:http://bad.guy.local/hobby/pic4.png [3968/3968] -> "./20161018T225418UTC/bad.guy.local/hobby/pic4.png" [1]
|
||||
BEENDET --2016-10-19 00:54:18--
|
||||
Verstrichene Zeit: 0,007s
|
||||
Geholt: 12 Dateien, 20K in 0s (633 MB/s)
|
||||
|
||||
Files are stored in ./20161018T225418UTC/bad.guy.local
|
||||
|
||||
Calculationg hash values...
|
||||
|
||||
The hashfile ./20161018T225418UTC/openssl_dgst-md5.txt was successfully generated
|
||||
|
||||
Searching for differnences...
|
||||
|
||||
... done.
|
||||
|
||||
Processing text search...
|
||||
|
||||
Symbolic link of file ./20161018T225418UTC/bad.guy.local/hobby/index.html with search hit was created in ./20161018T225418UTC/search_and_found
|
||||
Symbolic link of file ./20161018T225418UTC/bad.guy.local/my job.html with search hit was created in ./20161018T225418UTC/search_and_found
|
||||
Symbolic link of file ./20161018T225418UTC/bad.guy.local/.about_me.html with search hit was created in ./20161018T225418UTC/search_and_found
|
||||
Symbolic link of file ./20161018T225418UTC/bad.guy.local/index.html with search hit was created in ./20161018T225418UTC/search_and_found
|
||||
Symbolic link of file ./20161018T225418UTC/bad.guy.local/js/script.js with search hit was created in ./20161018T225418UTC/search_and_found
|
||||
|
||||
... done.
|
||||
|
||||
The script has successfully finished.
|
||||
|
52
tests/test5_changes_and_search.log
Normal file
52
tests/test5_changes_and_search.log
Normal file
@ -0,0 +1,52 @@
|
||||
|
||||
Version: 1.0 (created: 2016-10-18)
|
||||
|
||||
The directory of the last run is: ./20161018T225418UTC
|
||||
|
||||
This run was starting at: Di 18. Okt 22:54:58 UTC 2016
|
||||
|
||||
Mirroring website...
|
||||
|
||||
2016-10-19 00:54:58 URL:http://bad.guy.local/ [638/638] -> "./20161018T225458UTC/bad.guy.local/index.html" [1]
|
||||
2016-10-19 00:54:58 URL:http://bad.guy.local/favicon.ico [575/575] -> "./20161018T225458UTC/bad.guy.local/favicon.ico" [1]
|
||||
2016-10-19 00:54:58 URL:http://bad.guy.local/css/theme.css [310/310] -> "./20161018T225458UTC/bad.guy.local/css/theme.css" [1]
|
||||
2016-10-19 00:54:58 URL:http://bad.guy.local/.about_me.html [805/805] -> "./20161018T225458UTC/bad.guy.local/.about_me.html" [1]
|
||||
2016-10-19 00:54:58 URL:http://bad.guy.local/my%20job.html [652/652] -> "./20161018T225458UTC/bad.guy.local/my job.html" [1]
|
||||
2016-10-19 00:54:58 URL:http://bad.guy.local/hobby/index.html [873/873] -> "./20161018T225458UTC/bad.guy.local/hobby/index.html" [1]
|
||||
2016-10-19 00:54:58 URL:http://bad.guy.local/img/logo.png [3882/3882] -> "./20161018T225458UTC/bad.guy.local/img/logo.png" [1]
|
||||
2016-10-19 00:54:58 URL:http://bad.guy.local/index.html [638/638] -> "./20161018T225458UTC/bad.guy.local/index.html" [1]
|
||||
2016-10-19 00:54:58 URL:http://bad.guy.local/js/script.js [191/191] -> "./20161018T225458UTC/bad.guy.local/js/script.js" [1]
|
||||
2016-10-19 00:54:58 URL:http://bad.guy.local/hobby/pic1.png [3820/3820] -> "./20161018T225458UTC/bad.guy.local/hobby/pic1.png" [1]
|
||||
2016-10-19 00:54:58 URL:http://bad.guy.local/hobby/pic2.png [4105/4105] -> "./20161018T225458UTC/bad.guy.local/hobby/pic2.png" [1]
|
||||
2016-10-19 00:54:58 URL:http://bad.guy.local/hobby/pic3.png [4163/4163] -> "./20161018T225458UTC/bad.guy.local/hobby/pic3.png" [1]
|
||||
BEENDET --2016-10-19 00:54:58--
|
||||
Verstrichene Zeit: 0,005s
|
||||
Geholt: 12 Dateien, 20K in 0s (720 MB/s)
|
||||
|
||||
Files are stored in ./20161018T225458UTC/bad.guy.local
|
||||
|
||||
Calculationg hash values...
|
||||
|
||||
The hashfile ./20161018T225458UTC/openssl_dgst-md5.txt was successfully generated
|
||||
|
||||
Searching for differnences...
|
||||
|
||||
Symbolic link of modified/exchanged file ./bad.guy.local/hobby/pic1.png was created in ./20161018T225458UTC/modified_files
|
||||
Symbolic link of modified/exchanged file ./bad.guy.local/hobby/index.html was created in ./20161018T225458UTC/modified_files
|
||||
Symbolic link of renamed/moved file ./bad.guy.local/hobby/pic_two.png was created in ./20161018T225458UTC/renamed_files
|
||||
Symbolic link of deleted file ./bad.guy.local/hobby/pic4.png was created in ./20161018T225458UTC/deleted_files
|
||||
Symbolic link of new added file ./bad.guy.local/hobby/pic3.png was created in ./20161018T225458UTC/new_files
|
||||
... done.
|
||||
|
||||
Processing text search...
|
||||
|
||||
Symbolic link of file ./20161018T225458UTC/bad.guy.local/hobby/index.html with search hit was created in ./20161018T225458UTC/search_and_found
|
||||
Symbolic link of file ./20161018T225458UTC/bad.guy.local/my job.html with search hit was created in ./20161018T225458UTC/search_and_found
|
||||
Symbolic link of file ./20161018T225458UTC/bad.guy.local/.about_me.html with search hit was created in ./20161018T225458UTC/search_and_found
|
||||
Symbolic link of file ./20161018T225458UTC/bad.guy.local/index.html with search hit was created in ./20161018T225458UTC/search_and_found
|
||||
Symbolic link of file ./20161018T225458UTC/bad.guy.local/js/script.js with search hit was created in ./20161018T225458UTC/search_and_found
|
||||
|
||||
... done.
|
||||
|
||||
The script has successfully finished.
|
||||
|
24
tests/test6_error.log
Normal file
24
tests/test6_error.log
Normal file
@ -0,0 +1,24 @@
|
||||
|
||||
Version: 1.0 (created: 2016-10-18)
|
||||
|
||||
[01;31;40mERROR: url is missing... EXIT!!![00m
|
||||
|
||||
BASIC USAGE...
|
||||
$ ./WSM_Neumann.sh <URL>
|
||||
OR
|
||||
$ bash WSM_Neumann.sh <URL>
|
||||
$ ksh WSM_Neumann.sh <URL>
|
||||
$ zsh WSM_Neumann.sh <URL>
|
||||
$ dash WSM_Neumann.sh <URL>
|
||||
$ busybox ash WSM_Neumann.sh <URL>
|
||||
|
||||
OPTIONS:
|
||||
-d : enable debugging
|
||||
-h : display usage and exit
|
||||
-n : disable logging (enabled by default)
|
||||
-q : disable stdout (enabled by default)
|
||||
-v : print version and exit
|
||||
-E <regexp> : text search with extended regexp
|
||||
-F <regexp> : text search with fixed string
|
||||
-G <regexp> : text search with basic regexp
|
||||
|
Reference in New Issue
Block a user