Commit Graph

2452 Commits

Author SHA1 Message Date
Michel Oosterhof fdbb2f0939
Private ranges (#1557)
* limit private address ranges
2021-05-07 11:56:36 +08:00
Michel Oosterhof d2f3a35d11
Update .readthedocs.yml 2021-05-04 00:17:00 +08:00
github-actions[bot] e489ca63b9
Automatic update of dependencies (#1547)
Co-authored-by: micheloosterhof <micheloosterhof@users.noreply.github.com>
2021-05-04 00:15:30 +08:00
Michel Oosterhof f74cd0d741
Readthedocs (#1555)
* add readthedocs config file for sphinx-copy button
2021-05-04 00:15:10 +08:00
Michel Oosterhof 813f35e86d
26apr (#1552)
* typing
* clean also cleans docs/
* ignore twistedchecker exit code
* twistedchecker fixes
* update docs. add copy button
* add missing $ prompts
* updated copyright
* isort
* remove flake8-import order. config flake8/isort/black
* remove import order
* docs restructure
* should pick up settings from setup.cfg
* put conversion code back in. JSON encoding needs it
2021-05-03 23:42:25 +08:00
Michel Oosterhof 85d8179c93
Fix 1549 (#1551) 2021-05-02 13:09:25 +08:00
intereal f2f1b3b150
Fixed Cowrie detection (#1530)
* Fixed Cowrie detection by its behaviour. Inspired by https://github.com/blazeinfosec/detect-kippo-cowrie
2021-05-01 14:34:56 +08:00
Sereysethy Touch dddde1850a
Commands should be decoded as utf8 (#1477)
Co-authored-by: Michel Oosterhof <micheloosterhof@users.noreply.github.com>
2021-04-26 21:52:14 +08:00
Michel Oosterhof a79d6bc0ca
Gh actions pypy (#1544)
* typing
* python version updates in ci/cd
* only mypy on cpython
* twistedchecker ignore errors
* only run auto updater on the main repository
2021-04-26 08:03:52 +08:00
github-actions[bot] 174f98fa63
Automatic update of dependencies (#1546)
Co-authored-by: micheloosterhof <micheloosterhof@users.noreply.github.com>
2021-04-23 11:47:03 +08:00
github-actions[bot] 39a235fc88
Automatic update of dependencies (#1543)
Co-authored-by: micheloosterhof <micheloosterhof@users.noreply.github.com>
2021-04-22 10:18:25 +08:00
Michel Oosterhof 9afe861b2c
Mypy6 (#1542)
* lots of fixes for python typing
* fixed base64 and added testing
* removed convert() from logging, should ease up CPU usage
* clear up bytes/string confusion.
2021-04-18 14:03:38 +08:00
github-actions[bot] c28087524c
Automatic update of dependencies (#1541)
Co-authored-by: micheloosterhof <micheloosterhof@users.noreply.github.com>
2021-04-17 14:46:53 +08:00
Michel Oosterhof 628ad9bed7
Gh action tox (#1536)
* tox via gh-action
2021-04-16 21:47:12 +08:00
github-actions[bot] db51e6a79a
Automatic update of dependencies (#1540)
Co-authored-by: micheloosterhof <micheloosterhof@users.noreply.github.com>
2021-04-16 21:46:07 +08:00
Michel Oosterhof 2e0e3a80e4
Mypy5 (#1539)
* add way more typing
2021-04-15 14:25:33 +08:00
github-actions[bot] 8f3c1c4e79
Automatic update of dependencies (#1537)
Co-authored-by: micheloosterhof <micheloosterhof@users.noreply.github.com>
2021-04-15 12:16:57 +08:00
Michel Oosterhof 6756c76722
import order (#1535) 2021-04-14 23:48:17 +08:00
github-actions[bot] 8d1f706a67
Automatic update of dependencies (#1534)
Co-authored-by: micheloosterhof <micheloosterhof@users.noreply.github.com>
2021-04-14 23:23:04 +08:00
Michel Oosterhof 4df0bc5ed8
Pur (#1533)
* automatic

* update
2021-04-14 23:20:35 +08:00
Michel Oosterhof 2b818ec1ec
Pyre (#1531)
* add pyre
2021-04-13 21:55:23 +08:00
Michel Oosterhof 43f1279178
remove python2 legacy code (#1532) 2021-04-13 21:54:48 +08:00
Michel Oosterhof 9d830083e1
dependency upgrade Sat 10 Apr 2021 03:20:23 UTC (#1529) 2021-04-10 11:29:43 +08:00
Julius ter Pelkwijk b1508d43b0
Adding kill to list of most-used commands (#1527) 2021-04-06 23:20:57 +08:00
Michel Oosterhof ac2ad04925
Mypy4 (#1526)
* remove python2 support, assume 3.6+
* ignore .envrc
* type annotations
* rewrite cowrieconfig from singleton class to module variable
* add resumeproducing function
* name has become bytes (was str before)
* remove unreachable statement
* add typing for mock fake transport
* enable mypy check by default
2021-04-03 23:53:44 +08:00
Brad Chiappetta 0c775d0b61
Update GreyNoise Output Script to Use Community API (#1524)
* update to use community api
2021-04-01 23:39:42 +08:00
Michel Oosterhof 436194148b
dependency upgrade Mon 29 Mar 2021 16:50:30 UTC (#1522) 2021-03-30 00:55:04 +08:00
Michel Oosterhof 2de18bb601
Pyupgrade (#1520)
* add pyupgrade
* ignore csirtgsdk updates with pur
* black setup.py
2021-03-30 00:49:43 +08:00
Michel Oosterhof c374d02f8f
Pre commit (#1521)
* add pre-commit
* add flake8 config file. maybe put this in setup.{py|cfg}?
2021-03-30 00:47:45 +08:00
Michel Oosterhof 66005e8e17
Mypy (#1517)
* add twistedchecker
* add mypy, failure allowed
2021-03-26 10:29:45 +08:00
Michel Oosterhof 6d23d70988
blackify. (#1518)
Use black coding standard. Update flake8 configuration with new settings.
2021-03-26 00:16:42 +08:00
Michel Oosterhof fd3f552732 Revert "update flake8/black calls"
This reverts commit 14e2087cc9.
2021-03-26 00:11:28 +08:00
Michel Oosterhof 7003335462 Revert "add pyupgrade and black"
This reverts commit 6f7a0cebdb.
2021-03-26 00:10:48 +08:00
Michel Oosterhof 14e2087cc9 update flake8/black calls 2021-03-26 00:09:26 +08:00
Michel Oosterhof 6f7a0cebdb add pyupgrade and black 2021-03-25 23:52:26 +08:00
Dragoon Aethis c39f071926
Implement getopt-style parsing for uname (#1516)
Makes the parser rather complicated, but gets through honeypot checks for correct 'uname -osmv' output.
2021-03-25 23:25:52 +08:00
Michel Oosterhof 5b9943a498
add pipdeptree (#1515) 2021-03-20 11:50:45 +08:00
Michel Oosterhof 82cb5d7f4a
Dependency upgrade 2021 03 20 (#1514)
* dependency upgrade Sat 20 Mar 2021 03:44:32 UTC

* undo automatic upgrade
2021-03-20 11:49:31 +08:00
Julius ter Pelkwijk 4128138a73
Fix Typo (#1513)
Small typo in ps aux: Shows "July22" instead of "Jul22"
2021-03-20 11:45:58 +08:00
Julius ter Pelkwijk b74f52ea7f
Update fsctl to use utf-8 encoding (#1506)
I noticed in some cases that the file does not want to load and gives an error that it was "not a valid pickle file". Upon research I found out that the encoding for python3 was utf-8, however pickle demanded an unicode file. This should fix the issue.
2021-03-15 19:58:42 +08:00
Michel Oosterhof 7d5574e34a
Dependency upgrade 2021 03 11 (#1508)
* dependency upgrade Thu 11 Mar 2021 07:16:24 UTC
* rewrite chr()
2021-03-12 21:26:54 +08:00
Michel Oosterhof 080c7231c5
Pyupgrade bin (#1503)
* upgrade to python3.6+ syntax using `pyupgrade --py36-plus`
* pyupgrade --36-plus on bin/
2021-03-03 00:28:16 +08:00
Michel Oosterhof 63bdbdd520
upgrade to python3.6+ syntax using `pyupgrade --py36-plus` (#1502) 2021-03-01 11:01:03 +08:00
Michel Oosterhof 04487d3310
Dependency upgrade 2021 02 16 (#1498)
* dependency upgrade Tue 16 Feb 2021 13:45:19 UTC
2021-02-18 09:43:15 +08:00
Peter Šufliarsky 3643f51e81
Log the command before output in ttylog (#1426) 2021-02-07 16:46:22 +08:00
Michel Oosterhof 2cba9ab605
cleanup (#1492) 2021-01-31 12:15:33 +08:00
Peter Šufliarsky caefdfa4d5
TLS connections with curl and wget (#1443)
* Allow SSLv3 connections for wget and curl
* Support for 301 redirects in wget
2021-01-24 12:25:00 +08:00
Michel Oosterhof e1aeb4f55c
exceptons->exceptions (#1490) 2021-01-24 11:14:36 +08:00
Michel Oosterhof a1aa9181fc
make dep update idempotent (#1491) 2021-01-24 11:14:19 +08:00
Michel Oosterhof b8ec02e7a9
Dependency upgrade 2021 01 23 (#1486)
* dependency upgrade Sat 23 Jan 2021 19:07:39 UTC
2021-01-24 11:04:36 +08:00