From 0217245319fcac34e40588e9a31cdc1a92f6b933 Mon Sep 17 00:00:00 2001 From: Stephen Farrell Date: Fri, 9 Mar 2018 21:54:08 +0000 Subject: [PATCH] finally tidied up a bit --- .gitignore | 1 + FreshGrab.py | 20 ++++++ GrabIPs.py | 20 ++++++ GraphKeyReuse3.py | 20 ++++++ KeyTypes.py | 20 ++++++ LICENSE | 2 +- Makefile | 20 ++++++ README.md | 58 ++--------------- SameKeys.py | 20 ++++++ SurveyFuncs.py | 20 ++++++ TwentyTwos.py | 20 ++++++ .../AccumulatedValues.py | 0 AnyOddSANs.py => misc/AnyOddSANs.py | 0 CensysIESMTP.py => misc/CensysIESMTP.py | 0 CensysRaw.py => misc/CensysRaw.py | 0 CensysSMTP-cron.py => misc/CensysSMTP-cron.py | 0 CensysSample.py => misc/CensysSample.py | 0 Classify.py => misc/Classify.py | 0 ClusterSizes.py => misc/ClusterSizes.py | 0 FirstClassify.py => misc/FirstClassify.py | 0 GrepArray.py => misc/GrepArray.py | 0 OldClassify.py => misc/OldClassify.py | 0 Questions.py => misc/Questions.py | 0 misc/README.md | 65 +++++++++++++++++++ SelField.py => misc/SelField.py | 0 SplitArray.py => misc/SplitArray.py | 0 colournames => misc/colournames | 0 countfields.go => misc/countfields.go | 0 dnstest.py => misc/dnstest.py | 0 dot2sfdp.sh => misc/dot2sfdp.sh | 0 gc.sh => misc/gc.sh | 0 iesmtp-list.py => misc/iesmtp-list.py | 0 noimg.sh => misc/noimg.sh | 0 nosvg.sh => misc/nosvg.sh | 0 questions.md => misc/questions.md | 0 samplefromgraph.sh => misc/samplefromgraph.sh | 0 shgraph.py => misc/shgraph.py | 0 ssh-verif.sh => misc/ssh-verif.sh | 0 mm_update.sh | 20 ++++++ skey-all.sh | 20 ++++++ try-render-problematic.sh | 20 ++++++ 41 files changed, 292 insertions(+), 54 deletions(-) create mode 100644 .gitignore rename AccumulatedValues.py => misc/AccumulatedValues.py (100%) rename AnyOddSANs.py => misc/AnyOddSANs.py (100%) rename CensysIESMTP.py => misc/CensysIESMTP.py (100%) rename CensysRaw.py => misc/CensysRaw.py (100%) rename CensysSMTP-cron.py => misc/CensysSMTP-cron.py (100%) rename CensysSample.py => misc/CensysSample.py (100%) rename Classify.py => misc/Classify.py (100%) rename ClusterSizes.py => misc/ClusterSizes.py (100%) rename FirstClassify.py => misc/FirstClassify.py (100%) rename GrepArray.py => misc/GrepArray.py (100%) rename OldClassify.py => misc/OldClassify.py (100%) rename Questions.py => misc/Questions.py (100%) create mode 100644 misc/README.md rename SelField.py => misc/SelField.py (100%) rename SplitArray.py => misc/SplitArray.py (100%) rename colournames => misc/colournames (100%) rename countfields.go => misc/countfields.go (100%) rename dnstest.py => misc/dnstest.py (100%) rename dot2sfdp.sh => misc/dot2sfdp.sh (100%) rename gc.sh => misc/gc.sh (100%) rename iesmtp-list.py => misc/iesmtp-list.py (100%) rename noimg.sh => misc/noimg.sh (100%) rename nosvg.sh => misc/nosvg.sh (100%) rename questions.md => misc/questions.md (100%) rename samplefromgraph.sh => misc/samplefromgraph.sh (100%) rename shgraph.py => misc/shgraph.py (100%) rename ssh-verif.sh => misc/ssh-verif.sh (100%) diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..a1e0396 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +runs/ diff --git a/FreshGrab.py b/FreshGrab.py index 0ea4fc4..d0b521f 100755 --- a/FreshGrab.py +++ b/FreshGrab.py @@ -1,5 +1,25 @@ #!/usr/bin/python +# Copyright (C) 2018 Stephen Farrell, stephen.farrell@cs.tcd.ie +# +# Permission is hereby granted, free of charge, to any person obtaining a copy +# of this software and associated documentation files (the "Software"), to deal +# in the Software without restriction, including without limitation the rights +# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +# copies of the Software, and to permit persons to whom the Software is +# furnished to do so, subject to the following conditions: +# +# The above copyright notice and this permission notice shall be included in +# all copies or substantial portions of the Software. +# +# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN +# THE SOFTWARE. + import os, sys, argparse, tempfile, gc import json, jsonpickle import time diff --git a/GrabIPs.py b/GrabIPs.py index 5e4edea..93d951b 100755 --- a/GrabIPs.py +++ b/GrabIPs.py @@ -1,5 +1,25 @@ #!/usr/bin/python +# Copyright (C) 2018 Stephen Farrell, stephen.farrell@cs.tcd.ie +# +# Permission is hereby granted, free of charge, to any person obtaining a copy +# of this software and associated documentation files (the "Software"), to deal +# in the Software without restriction, including without limitation the rights +# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +# copies of the Software, and to permit persons to whom the Software is +# furnished to do so, subject to the following conditions: +# +# The above copyright notice and this permission notice shall be included in +# all copies or substantial portions of the Software. +# +# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN +# THE SOFTWARE. + # grab just the IPs from a censys file # or any other with one json structure per line and an 'ip' key in that dict diff --git a/GraphKeyReuse3.py b/GraphKeyReuse3.py index fdd02da..e1ca0aa 100755 --- a/GraphKeyReuse3.py +++ b/GraphKeyReuse3.py @@ -1,5 +1,25 @@ #!/usr/bin/python +# Copyright (C) 2018 Stephen Farrell, stephen.farrell@cs.tcd.ie +# +# Permission is hereby granted, free of charge, to any person obtaining a copy +# of this software and associated documentation files (the "Software"), to deal +# in the Software without restriction, including without limitation the rights +# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +# copies of the Software, and to permit persons to whom the Software is +# furnished to do so, subject to the following conditions: +# +# The above copyright notice and this permission notice shall be included in +# all copies or substantial portions of the Software. +# +# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN +# THE SOFTWARE. + # check who's re-using the same keys # CensysIESMTP.py diff --git a/KeyTypes.py b/KeyTypes.py index 68abee3..32da6a2 100755 --- a/KeyTypes.py +++ b/KeyTypes.py @@ -1,5 +1,25 @@ #!/usr/bin/python +# Copyright (C) 2018 Stephen Farrell, stephen.farrell@cs.tcd.ie +# +# Permission is hereby granted, free of charge, to any person obtaining a copy +# of this software and associated documentation files (the "Software"), to deal +# in the Software without restriction, including without limitation the rights +# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +# copies of the Software, and to permit persons to whom the Software is +# furnished to do so, subject to the following conditions: +# +# The above copyright notice and this permission notice shall be included in +# all copies or substantial portions of the Software. +# +# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN +# THE SOFTWARE. + # check what kind of keys are in use # CensysIESMTP.py diff --git a/LICENSE b/LICENSE index 264f80e..956f001 100644 --- a/LICENSE +++ b/LICENSE @@ -1,6 +1,6 @@ MIT License -Copyright (c) 2017 sftcd +Copyright (c) 2018 Stephen Farrell, stephen.farrell@cs.tcd.ie Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal diff --git a/Makefile b/Makefile index 1c55ed3..89c0799 100644 --- a/Makefile +++ b/Makefile @@ -1,6 +1,26 @@ # Our two populations are servers in IE and EE (according to # maxmind) who listen on port 25. +# Copyright (C) 2018 Stephen Farrell, stephen.farrell@cs.tcd.ie +# +# Permission is hereby granted, free of charge, to any person obtaining a copy +# of this software and associated documentation files (the "Software"), to deal +# in the Software without restriction, including without limitation the rights +# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +# copies of the Software, and to permit persons to whom the Software is +# furnished to do so, subject to the following conditions: +# +# The above copyright notice and this permission notice shall be included in +# all copies or substantial portions of the Software. +# +# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN +# THE SOFTWARE. + SRCDIR=${HOME}/code/surveys DATADIR=${HOME}/data/smtp/runs diff --git a/README.md b/README.md index d5788c9..58adc56 100644 --- a/README.md +++ b/README.md @@ -1,59 +1,11 @@ # surveys -Code for various survey-related stuff +Code for various crypto-survey related stuff. -Note that this very much in flux as I figure out what's interesting. I -promise to put manners on the code soon as I know what I want it do to:-) -Getting there though... +The current code collects and collates keys and sees which of those +are the same. -Initial work is based on using the [censys.io](https://censys.io/) API +The ```misc``` directory has various bits and pieces knocked up along +the way in case they prove handy later. -## Cron job - -```CensysSMTP-cron.py``` is set to pull a weekly view of the SMTP speakers, -in my case from IE and EE (the latter for comparison). - -## Analysis - -As a first cut, I've analysed the mail speakers into the following classes: - -- "good-looking" : Talks SMTPTLS with certs that chain to a browser-trusted root -- "medium-looking" : Talks STARTTLS ok but without a cert like the above (maybe a local root) -- "self-signed" : Talks STARTTLS ok but with a self-signed cert -- "bad-sig" : bad signature on certificate somewhere -- "bad-looking" : doesn't manage to talk STARTTLS for some reason -- "dunno" : doesn't fit the above - -```Classify.py``` takes a filename (produced by CensysSMTP-cron for examplle) as input and splits that file into -those classes i.e. good, badsig, medium, selfsigned, bad, and dunno, and -produces basic counts. Those files are dropped into an "outs" -directory below the ```$CWD``` for now. - -Later, we can try do some stats etc. - -## A run for Sep 29th for Ireland and Estonia - -
-For SMTP speakers apparently in Ireland:
-
-     1852   good
-     2713   badsig
-     2116   medium
-     1010   selfsigned
-     4670   bad
-      135   dunno
-
-    12496   total
-
-For SMTP speakers apparently in Estonia:
-
-      832   good
-     4196   badsig
-     3415   medium
-     2047   selfsigned
-     1921   bad
-       59   dunno
-
-    12470   total
-
diff --git a/SameKeys.py b/SameKeys.py index 39f2240..860811a 100755 --- a/SameKeys.py +++ b/SameKeys.py @@ -1,5 +1,25 @@ #!/usr/bin/python +# Copyright (C) 2018 Stephen Farrell, stephen.farrell@cs.tcd.ie +# +# Permission is hereby granted, free of charge, to any person obtaining a copy +# of this software and associated documentation files (the "Software"), to deal +# in the Software without restriction, including without limitation the rights +# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +# copies of the Software, and to permit persons to whom the Software is +# furnished to do so, subject to the following conditions: +# +# The above copyright notice and this permission notice shall be included in +# all copies or substantial portions of the Software. +# +# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN +# THE SOFTWARE. + # check who's re-using the same keys # CensysIESMTP.py diff --git a/SurveyFuncs.py b/SurveyFuncs.py index 601068c..7e493a7 100644 --- a/SurveyFuncs.py +++ b/SurveyFuncs.py @@ -1,4 +1,24 @@ #!/usr/bin/python + +# Copyright (C) 2018 Stephen Farrell, stephen.farrell@cs.tcd.ie +# +# Permission is hereby granted, free of charge, to any person obtaining a copy +# of this software and associated documentation files (the "Software"), to deal +# in the Software without restriction, including without limitation the rights +# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +# copies of the Software, and to permit persons to whom the Software is +# furnished to do so, subject to the following conditions: +# +# The above copyright notice and this permission notice shall be included in +# all copies or substantial portions of the Software. +# +# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN +# THE SOFTWARE. import json import jsonpickle import copy diff --git a/TwentyTwos.py b/TwentyTwos.py index c825591..062b660 100755 --- a/TwentyTwos.py +++ b/TwentyTwos.py @@ -1,5 +1,25 @@ #!/usr/bin/python +# Copyright (C) 2018 Stephen Farrell, stephen.farrell@cs.tcd.ie +# +# Permission is hereby granted, free of charge, to any person obtaining a copy +# of this software and associated documentation files (the "Software"), to deal +# in the Software without restriction, including without limitation the rights +# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +# copies of the Software, and to permit persons to whom the Software is +# furnished to do so, subject to the following conditions: +# +# The above copyright notice and this permission notice shall be included in +# all copies or substantial portions of the Software. +# +# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN +# THE SOFTWARE. + # read out the port 22 collisions and verify those using ssh-keyscan import os, sys, argparse, tempfile, gc diff --git a/AccumulatedValues.py b/misc/AccumulatedValues.py similarity index 100% rename from AccumulatedValues.py rename to misc/AccumulatedValues.py diff --git a/AnyOddSANs.py b/misc/AnyOddSANs.py similarity index 100% rename from AnyOddSANs.py rename to misc/AnyOddSANs.py diff --git a/CensysIESMTP.py b/misc/CensysIESMTP.py similarity index 100% rename from CensysIESMTP.py rename to misc/CensysIESMTP.py diff --git a/CensysRaw.py b/misc/CensysRaw.py similarity index 100% rename from CensysRaw.py rename to misc/CensysRaw.py diff --git a/CensysSMTP-cron.py b/misc/CensysSMTP-cron.py similarity index 100% rename from CensysSMTP-cron.py rename to misc/CensysSMTP-cron.py diff --git a/CensysSample.py b/misc/CensysSample.py similarity index 100% rename from CensysSample.py rename to misc/CensysSample.py diff --git a/Classify.py b/misc/Classify.py similarity index 100% rename from Classify.py rename to misc/Classify.py diff --git a/ClusterSizes.py b/misc/ClusterSizes.py similarity index 100% rename from ClusterSizes.py rename to misc/ClusterSizes.py diff --git a/FirstClassify.py b/misc/FirstClassify.py similarity index 100% rename from FirstClassify.py rename to misc/FirstClassify.py diff --git a/GrepArray.py b/misc/GrepArray.py similarity index 100% rename from GrepArray.py rename to misc/GrepArray.py diff --git a/OldClassify.py b/misc/OldClassify.py similarity index 100% rename from OldClassify.py rename to misc/OldClassify.py diff --git a/Questions.py b/misc/Questions.py similarity index 100% rename from Questions.py rename to misc/Questions.py diff --git a/misc/README.md b/misc/README.md new file mode 100644 index 0000000..8523ad4 --- /dev/null +++ b/misc/README.md @@ -0,0 +1,65 @@ +# surveys + +This used to be the main README for this repo. This directory just has +bits and pieces assembled along the way in case they turn out useful +sometime. You should mostly ignore it all. + +# Stuff to ignore below here... + +Code for various survey-related stuff + +Note that this very much in flux as I figure out what's interesting. I +promise to put manners on the code soon as I know what I want it do to:-) +Getting there though... + +Initial work is based on using the [censys.io](https://censys.io/) API + +## Cron job + +```CensysSMTP-cron.py``` is set to pull a weekly view of the SMTP speakers, +in my case from IE and EE (the latter for comparison). + +## Analysis + +As a first cut, I've analysed the mail speakers into the following classes: + +- "good-looking" : Talks SMTPTLS with certs that chain to a browser-trusted root +- "medium-looking" : Talks STARTTLS ok but without a cert like the above (maybe a local root) +- "self-signed" : Talks STARTTLS ok but with a self-signed cert +- "bad-sig" : bad signature on certificate somewhere +- "bad-looking" : doesn't manage to talk STARTTLS for some reason +- "dunno" : doesn't fit the above + +```Classify.py``` takes a filename (produced by CensysSMTP-cron for examplle) as input and splits that file into +those classes i.e. good, badsig, medium, selfsigned, bad, and dunno, and +produces basic counts. Those files are dropped into an "outs" +directory below the ```$CWD``` for now. + +Later, we can try do some stats etc. + +## A run for Sep 29th for Ireland and Estonia + +
+For SMTP speakers apparently in Ireland:
+
+     1852   good
+     2713   badsig
+     2116   medium
+     1010   selfsigned
+     4670   bad
+      135   dunno
+
+    12496   total
+
+For SMTP speakers apparently in Estonia:
+
+      832   good
+     4196   badsig
+     3415   medium
+     2047   selfsigned
+     1921   bad
+       59   dunno
+
+    12470   total
+
+ diff --git a/SelField.py b/misc/SelField.py similarity index 100% rename from SelField.py rename to misc/SelField.py diff --git a/SplitArray.py b/misc/SplitArray.py similarity index 100% rename from SplitArray.py rename to misc/SplitArray.py diff --git a/colournames b/misc/colournames similarity index 100% rename from colournames rename to misc/colournames diff --git a/countfields.go b/misc/countfields.go similarity index 100% rename from countfields.go rename to misc/countfields.go diff --git a/dnstest.py b/misc/dnstest.py similarity index 100% rename from dnstest.py rename to misc/dnstest.py diff --git a/dot2sfdp.sh b/misc/dot2sfdp.sh similarity index 100% rename from dot2sfdp.sh rename to misc/dot2sfdp.sh diff --git a/gc.sh b/misc/gc.sh similarity index 100% rename from gc.sh rename to misc/gc.sh diff --git a/iesmtp-list.py b/misc/iesmtp-list.py similarity index 100% rename from iesmtp-list.py rename to misc/iesmtp-list.py diff --git a/noimg.sh b/misc/noimg.sh similarity index 100% rename from noimg.sh rename to misc/noimg.sh diff --git a/nosvg.sh b/misc/nosvg.sh similarity index 100% rename from nosvg.sh rename to misc/nosvg.sh diff --git a/questions.md b/misc/questions.md similarity index 100% rename from questions.md rename to misc/questions.md diff --git a/samplefromgraph.sh b/misc/samplefromgraph.sh similarity index 100% rename from samplefromgraph.sh rename to misc/samplefromgraph.sh diff --git a/shgraph.py b/misc/shgraph.py similarity index 100% rename from shgraph.py rename to misc/shgraph.py diff --git a/ssh-verif.sh b/misc/ssh-verif.sh similarity index 100% rename from ssh-verif.sh rename to misc/ssh-verif.sh diff --git a/mm_update.sh b/mm_update.sh index 7df6bba..5573fde 100755 --- a/mm_update.sh +++ b/mm_update.sh @@ -1,5 +1,25 @@ #!/bin/bash +# Copyright (C) 2018 Stephen Farrell, stephen.farrell@cs.tcd.ie +# +# Permission is hereby granted, free of charge, to any person obtaining a copy +# of this software and associated documentation files (the "Software"), to deal +# in the Software without restriction, including without limitation the rights +# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +# copies of the Software, and to permit persons to whom the Software is +# furnished to do so, subject to the following conditions: +# +# The above copyright notice and this permission notice shall be included in +# all copies or substantial portions of the Software. +# +# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN +# THE SOFTWARE. + # grab and explode updated versions of maxmind's free DBs set -x diff --git a/skey-all.sh b/skey-all.sh index 1e3bcf1..c950d0c 100755 --- a/skey-all.sh +++ b/skey-all.sh @@ -1,5 +1,25 @@ #!/bin/bash +# Copyright (C) 2018 Stephen Farrell, stephen.farrell@cs.tcd.ie +# +# Permission is hereby granted, free of charge, to any person obtaining a copy +# of this software and associated documentation files (the "Software"), to deal +# in the Software without restriction, including without limitation the rights +# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +# copies of the Software, and to permit persons to whom the Software is +# furnished to do so, subject to the following conditions: +# +# The above copyright notice and this permission notice shall be included in +# all copies or substantial portions of the Software. +# +# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN +# THE SOFTWARE. + #set -x function whenisitagain() diff --git a/try-render-problematic.sh b/try-render-problematic.sh index 05640fd..fa12e37 100755 --- a/try-render-problematic.sh +++ b/try-render-problematic.sh @@ -1,5 +1,25 @@ #!/bin/bash +# Copyright (C) 2018 Stephen Farrell, stephen.farrell@cs.tcd.ie +# +# Permission is hereby granted, free of charge, to any person obtaining a copy +# of this software and associated documentation files (the "Software"), to deal +# in the Software without restriction, including without limitation the rights +# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +# copies of the Software, and to permit persons to whom the Software is +# furnished to do so, subject to the following conditions: +# +# The above copyright notice and this permission notice shall be included in +# all copies or substantial portions of the Software. +# +# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN +# THE SOFTWARE. + # set -x # should we try one or all engines/formats?