Commit Graph

2493 Commits

Author SHA1 Message Date
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
053eac3840 add funding with link to patreon (#1445) 2020-11-10 00:13:25 +08:00
322e304993 #1431: Backticks command substitution (#1442)
* Command substitution with backticks
2020-11-09 05:58:48 +08:00
fefd994a2c Chmod fix + getopt (#1439)
* Fix mode regexp for chmod and extract chmod into chmod.py
* Use getopt to parse chmod arguments
2020-11-02 15:48:12 +08:00
650d812a06 add mkdir without full path (#1434) 2020-10-23 12:43:56 +08:00
2e75a341d5 1427 uniq command (#1430)
* Add uniq command
* Basic unit tests for uniq command
2020-10-22 10:25:10 +08:00
819fbd0cc1 Add uniq command (#1428)
* Add uniq command

* uniq - fix flake8 issue

* Basic unit tests for uniq command
2020-10-15 15:16:15 +08:00
8cadcfcc7f Enhanced command substitution functionality (#1423)
* Enhanced command substitution functionality
* Support multiple command substitutions inside an argument
* Use do_command_substitution for (...) expressions
2020-10-06 21:29:12 +08:00
6d9e3b8e4b Merge branch 'master' of https://github.com/cowrie/cowrie 2020-10-06 21:26:24 +08:00
b848ec2615 Resolve paths starting with ~/ (#1401) (#1405)
* Resolve paths starting with ~/

* Unit tests for chmod
2020-10-04 17:36:28 +08:00
87fbfe62fd Uid2 (#1421)
* Fix #1419 again
2020-09-28 11:42:04 +08:00
eab8702981 UID in environment variable (#1420)
* add $UID
2020-09-27 12:18:03 +08:00
827fede265 Commands path (#1415)
* add non-absolute path for commands
2020-09-17 19:56:04 +08:00
a5ff09f02d Curl exceptions (#1411)
* get session at connection time, rather than later when transport may have disconnected
2020-09-16 20:03:04 +08:00
1c31c52bca Nonascii base (#1410)
* add utf-8 encoding for PEP-0263
2020-09-16 13:33:39 +08:00
3df54905c4 Py 3.10 (#1407)
* add libvirt group membership

* remove 3.8-dev add 3.10-dev

* add python 3.9

* update allowed failures
2020-09-15 17:53:57 +08:00
0ca426ac06 Merge branch 'master' of https://github.com/cowrie/cowrie 2020-09-14 23:11:31 +08:00
fad1f1388e Fix nc hang (#1406)
* add libvirt group membership
* stop nc hanging on bad input
2020-09-14 00:08:27 +08:00
d49cbdcb42 add libvirt group membership 2020-09-05 10:23:18 +08:00
0df3cd9e18 Properly divide chmod arguments into options, mode and files (#1400) 2020-08-25 11:51:50 +08:00
3f801e823b Fix #1390 (#1391)
* Fix #1390

* add part about discovery type. remove spaces
2020-08-12 20:56:13 +08:00
049ac85493 Mysql exceptions (#1397)
* update for correct exception names for mysqlclient library

* commit database on shutdown
2020-08-10 21:19:30 +08:00
35c12dc14c Update for readability (#1393)
Co-authored-by: Kool-Koder <39305371+Kool-Koder@users.noreply.github.com>
2020-07-31 23:09:49 +08:00
bb7e98e966 increase abuseipdb rereport_after (#1389)
Increase re-report from 6 to 24 hours to conform with published AbuseIPDB guidelines.
2020-07-28 14:34:23 +08:00
39b0c1e519 remove unnecessary returns (#1388) 2020-07-25 23:01:59 +08:00
e58c36d3e5 convert curl to artifact framework (#1387)
* convert curl to artifact framework
* remove destfile argument
* new certificateoptions object
2020-07-25 22:44:35 +08:00
ffc8cdf57a new deps0 (#1383)
* new deps
* configparser 5 only supports py3.5+
2020-07-24 21:55:43 +08:00
ae3cb6ced5 add py35 to circle test (#1386) 2020-07-23 19:55:19 +08:00
af86336207 Jun22 (#1385)
* change Jun22->Jul22

* jun23->jul23
2020-07-23 19:51:13 +08:00
26e15991f7 rename richard->phil (#1384) 2020-07-23 19:39:36 +08:00
4886aa443c Binary cat (#1382)
* output cat as bytes
* make grep bytes compatible
2020-07-18 22:01:18 +08:00
5c51342c03 remove apache workbook (#1381) 2020-07-17 13:03:09 +08:00
aa3ddd3dac Azure sentinel (#1378)
* add header

* add docker and sentinel to index

* list commands correctly

* add workbook

* fix references

* rename file
2020-07-09 22:13:19 +08:00
ec9eb8b2cc remove unicode characters in cowrie.cfg.dist (#1376) 2020-07-06 21:17:25 +08:00
aeda823241 fix old library (#1375) 2020-07-06 11:29:36 +08:00
a6bdf232d2 fix mysql depnedency for py<3 (#1374) 2020-07-06 11:09:39 +08:00
79bd5e816f Dependency upgrade 2020 07 03 (#1372)
* dep upgrade
2020-07-03 15:42:50 +08:00
2fd7a20076 Tox fixes (#1371)
* pin versions for dev software

* run lint in py37, not py27

* more pur for other requirements files
2020-07-03 15:24:45 +08:00
98ccb9a7f8 fix flake8 E741 (#1370) 2020-07-03 10:48:52 +08:00