Commit Graph

2509 Commits

Author SHA1 Message Date
b80dad12b4 Csirtg (#1564)
* update CSIRTG output plugin to use new library version
* update shadow file too. fix #1562
2021-05-23 15:12:53 +08:00
2a90db6fa3 Fix1560 (#1563)
* fix #1560
2021-05-23 14:40:35 +08:00
0cd1fd89de Fix apt size of formatting (#1561)
* update formatting for apt additional disk space message
2021-05-18 09:32:05 +08:00
ec39aad0a0 9may (#1560)
* fix MySQL error handling
* fix tar command
* type hinting for proxy
2021-05-14 15:43:28 +08:00
988733210a Fixed the Slack output since it was using an old interface of slackclient (#1559)
* Fixed the Slack output to work with the versions 2.x of slackclient
2021-05-10 23:41:31 +08:00
a75c9b93cf Update .readthedocs.yml 2021-05-09 00:49:29 +08:00
ec69913a5d 7may (#1558)
* restructure documentation headings
* add output eventid reference guide 
* rename all classes with capitals
* more typing
2021-05-09 00:45:12 +08:00
fdbb2f0939 Private ranges (#1557)
* limit private address ranges
2021-05-07 11:56:36 +08:00
d2f3a35d11 Update .readthedocs.yml 2021-05-04 00:17:00 +08:00
e489ca63b9 Automatic update of dependencies (#1547)
Co-authored-by: micheloosterhof <micheloosterhof@users.noreply.github.com>
2021-05-04 00:15:30 +08:00
f74cd0d741 Readthedocs (#1555)
* add readthedocs config file for sphinx-copy button
2021-05-04 00:15:10 +08:00
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
85d8179c93 Fix 1549 (#1551) 2021-05-02 13:09:25 +08:00
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
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
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
174f98fa63 Automatic update of dependencies (#1546)
Co-authored-by: micheloosterhof <micheloosterhof@users.noreply.github.com>
2021-04-23 11:47:03 +08:00
39a235fc88 Automatic update of dependencies (#1543)
Co-authored-by: micheloosterhof <micheloosterhof@users.noreply.github.com>
2021-04-22 10:18:25 +08:00
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
c28087524c Automatic update of dependencies (#1541)
Co-authored-by: micheloosterhof <micheloosterhof@users.noreply.github.com>
2021-04-17 14:46:53 +08:00
628ad9bed7 Gh action tox (#1536)
* tox via gh-action
2021-04-16 21:47:12 +08:00
db51e6a79a Automatic update of dependencies (#1540)
Co-authored-by: micheloosterhof <micheloosterhof@users.noreply.github.com>
2021-04-16 21:46:07 +08:00
2e0e3a80e4 Mypy5 (#1539)
* add way more typing
2021-04-15 14:25:33 +08:00
8f3c1c4e79 Automatic update of dependencies (#1537)
Co-authored-by: micheloosterhof <micheloosterhof@users.noreply.github.com>
2021-04-15 12:16:57 +08:00
6756c76722 import order (#1535) 2021-04-14 23:48:17 +08:00
8d1f706a67 Automatic update of dependencies (#1534)
Co-authored-by: micheloosterhof <micheloosterhof@users.noreply.github.com>
2021-04-14 23:23:04 +08:00
4df0bc5ed8 Pur (#1533)
* automatic

* update
2021-04-14 23:20:35 +08:00
2b818ec1ec Pyre (#1531)
* add pyre
2021-04-13 21:55:23 +08:00
43f1279178 remove python2 legacy code (#1532) 2021-04-13 21:54:48 +08:00
9d830083e1 dependency upgrade Sat 10 Apr 2021 03:20:23 UTC (#1529) 2021-04-10 11:29:43 +08:00
b1508d43b0 Adding kill to list of most-used commands (#1527) 2021-04-06 23:20:57 +08:00
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
0c775d0b61 Update GreyNoise Output Script to Use Community API (#1524)
* update to use community api
2021-04-01 23:39:42 +08:00
436194148b dependency upgrade Mon 29 Mar 2021 16:50:30 UTC (#1522) 2021-03-30 00:55:04 +08:00
2de18bb601 Pyupgrade (#1520)
* add pyupgrade
* ignore csirtgsdk updates with pur
* black setup.py
2021-03-30 00:49:43 +08:00
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
66005e8e17 Mypy (#1517)
* add twistedchecker
* add mypy, failure allowed
2021-03-26 10:29:45 +08:00
6d23d70988 blackify. (#1518)
Use black coding standard. Update flake8 configuration with new settings.
2021-03-26 00:16:42 +08:00
fd3f552732 Revert "update flake8/black calls"
This reverts commit 14e2087cc9.
2021-03-26 00:11:28 +08:00
7003335462 Revert "add pyupgrade and black"
This reverts commit 6f7a0cebdb.
2021-03-26 00:10:48 +08:00
14e2087cc9 update flake8/black calls 2021-03-26 00:09:26 +08:00
6f7a0cebdb add pyupgrade and black 2021-03-25 23:52:26 +08:00
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
5b9943a498 add pipdeptree (#1515) 2021-03-20 11:50:45 +08:00
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
4128138a73 Fix Typo (#1513)
Small typo in ps aux: Shows "July22" instead of "Jul22"
2021-03-20 11:45:58 +08:00
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
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
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
63bdbdd520 upgrade to python3.6+ syntax using pyupgrade --py36-plus (#1502) 2021-03-01 11:01:03 +08:00