Commit Graph

2581 Commits

Author SHA1 Message Date
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
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
3643f51e81 Log the command before output in ttylog (#1426) 2021-02-07 16:46:22 +08:00
2cba9ab605 cleanup (#1492) 2021-01-31 12:15:33 +08:00
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
e1aeb4f55c exceptons->exceptions (#1490) 2021-01-24 11:14:36 +08:00
a1aa9181fc make dep update idempotent (#1491) 2021-01-24 11:14:19 +08:00
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
75674f7b0a typo breaking wget/curl CertificationOptions -> CertificateOptions (#1489) 2021-01-24 11:04:07 +08:00
93aa829073 Dependency upgrade 2021 01 12 (#1483)
* dependency upgrade Tue 12 Jan 2021 07:59:49 UTC
2021-01-13 23:10:47 +08:00
8dc980f128 Return URL or an empty string for download events (#1482) 2021-01-13 11:56:51 +08:00
1f443b9844 Treat python stdin as sourcefile (#1474)
Attacker used ```wget <file> | python -``` as a means to quickly execute code. This small fix treats the python stdin as a real file and does not output "Errno 2".
2021-01-02 12:46:28 +08:00
7fe5ee0ad2 Malshare update API (#1472)
* update malshare api
2020-12-23 20:03:55 +08:00
d0739a434b remove level setting for now (#1466) 2020-12-07 16:02:05 +08:00
eef87d650d Localsyslog cef fix (#1463)
* fix spaces in CEF output
2020-11-26 22:35:19 +08:00
f64285beb7 add pidfile back (#1460) 2020-11-26 14:51:08 +08:00
1179565754 tox need importlib-metadata 2.1 (#1458) 2020-11-26 00:25:42 +08:00
102544eadb Dependency upgrade 2020-11-25 (#1457)
* dependency upgrade Wed Nov 25 11:20:18 UTC 2020
2020-11-25 19:33:26 +08:00
7f16c72c5c Remove 3.5 (#1456)
* remove 3.5 from testing framework
2020-11-25 19:32:55 +08:00
e69cd7016d /bin/cowrie update (#1455)
* rational env variables to start with prefix COWRIE_
2020-11-25 19:08:50 +08:00
3caef117f7 allow output plugin config via env variable (#1454)
* remove debug version check statement
* uncomment all output plugins, but leave them in disabled state. This way they can be configured with environment variables
2020-11-25 16:18:12 +08:00
c049ebea49 codecov from travis (#1451) 2020-11-12 15:32:25 +08:00
ecfb7e3fa4 Release 2.2.0 (#1450)
* release 2.2.0
v2.2.0
2020-11-12 00:33:56 +08:00
39719adeca Add unzip command (#1437)
* Adding unzip command
2020-11-10 21:43:32 +08:00
4b1474cba2 python versions update (#1448)
* Update tox/circleci/travis build infrastructure. Remove Py 2.7 and 3.5.
* Add `pip check` command to build pipeline.
2020-11-10 13:46:36 +08:00
a13f5dff75 use UTC for dep upgrade scripts (#1449) 2020-11-10 12:26:09 +08:00
11b743ff49 Dependency upgrade 2020 11 10 (#1446)
* dependency upgrade Tue Nov 10 11:43:56 +08 2020
2020-11-10 12:10:16 +08:00
e1182be87d add -D to make idempotent (#1447) 2020-11-10 11:54:05 +08:00
9a2c7017d8 Bump cryptography from 3.0 to 3.2 (#1438)
Bumps [cryptography](https://github.com/pyca/cryptography) from 3.0 to 3.2.
- [Release notes](https://github.com/pyca/cryptography/releases)
- [Changelog](https://github.com/pyca/cryptography/blob/master/CHANGELOG.rst)
- [Commits](https://github.com/pyca/cryptography/compare/3.0...3.2)

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2020-11-10 00:14:05 +08:00