Commit Graph

2452 Commits

Author SHA1 Message Date
Michel Oosterhof 75674f7b0a
typo breaking wget/curl CertificationOptions -> CertificateOptions (#1489) 2021-01-24 11:04:07 +08:00
Michel Oosterhof 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
Peter Šufliarsky 8dc980f128
Return URL or an empty string for download events (#1482) 2021-01-13 11:56:51 +08:00
Julius ter Pelkwijk 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
Michel Oosterhof 7fe5ee0ad2
Malshare update API (#1472)
* update malshare api
2020-12-23 20:03:55 +08:00
Michel Oosterhof d0739a434b
remove level setting for now (#1466) 2020-12-07 16:02:05 +08:00
Michel Oosterhof eef87d650d
Localsyslog cef fix (#1463)
* fix spaces in CEF output
2020-11-26 22:35:19 +08:00
Michel Oosterhof f64285beb7
add pidfile back (#1460) 2020-11-26 14:51:08 +08:00
Michel Oosterhof 1179565754
tox need importlib-metadata 2.1 (#1458) 2020-11-26 00:25:42 +08:00
Michel Oosterhof 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
Michel Oosterhof 7f16c72c5c
Remove 3.5 (#1456)
* remove 3.5 from testing framework
2020-11-25 19:32:55 +08:00
Michel Oosterhof e69cd7016d
/bin/cowrie update (#1455)
* rational env variables to start with prefix COWRIE_
2020-11-25 19:08:50 +08:00
Michel Oosterhof 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
Michel Oosterhof c049ebea49
codecov from travis (#1451) 2020-11-12 15:32:25 +08:00
Michel Oosterhof ecfb7e3fa4
Release 2.2.0 (#1450)
* release 2.2.0
2020-11-12 00:33:56 +08:00
Julius ter Pelkwijk 39719adeca
Add unzip command (#1437)
* Adding unzip command
2020-11-10 21:43:32 +08:00
Michel Oosterhof 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
Michel Oosterhof a13f5dff75
use UTC for dep upgrade scripts (#1449) 2020-11-10 12:26:09 +08:00
Michel Oosterhof 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
Michel Oosterhof e1182be87d
add -D to make idempotent (#1447) 2020-11-10 11:54:05 +08:00
dependabot[bot] 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
Michel Oosterhof 053eac3840
add funding with link to patreon (#1445) 2020-11-10 00:13:25 +08:00
Peter Šufliarsky 322e304993
#1431: Backticks command substitution (#1442)
* Command substitution with backticks
2020-11-09 05:58:48 +08:00
Peter Šufliarsky 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
Michel Oosterhof 650d812a06
add mkdir without full path (#1434) 2020-10-23 12:43:56 +08:00
Peter Šufliarsky 2e75a341d5
1427 uniq command (#1430)
* Add uniq command
* Basic unit tests for uniq command
2020-10-22 10:25:10 +08:00
Peter Šufliarsky 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
Peter Šufliarsky 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
Michel Oosterhof 6d9e3b8e4b Merge branch 'master' of https://github.com/cowrie/cowrie 2020-10-06 21:26:24 +08:00
Peter Šufliarsky b848ec2615
Resolve paths starting with ~/ (#1401) (#1405)
* Resolve paths starting with ~/

* Unit tests for chmod
2020-10-04 17:36:28 +08:00
Michel Oosterhof 87fbfe62fd
Uid2 (#1421)
* Fix #1419 again
2020-09-28 11:42:04 +08:00
Michel Oosterhof eab8702981
UID in environment variable (#1420)
* add $UID
2020-09-27 12:18:03 +08:00
Michel Oosterhof 827fede265
Commands path (#1415)
* add non-absolute path for commands
2020-09-17 19:56:04 +08:00
Michel Oosterhof 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
Michel Oosterhof 1c31c52bca
Nonascii base (#1410)
* add utf-8 encoding for PEP-0263
2020-09-16 13:33:39 +08:00
Michel Oosterhof 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
Michel Oosterhof 0ca426ac06 Merge branch 'master' of https://github.com/cowrie/cowrie 2020-09-14 23:11:31 +08:00
Michel Oosterhof fad1f1388e
Fix nc hang (#1406)
* add libvirt group membership
* stop nc hanging on bad input
2020-09-14 00:08:27 +08:00
Michel Oosterhof d49cbdcb42 add libvirt group membership 2020-09-05 10:23:18 +08:00
Peter Šufliarsky 0df3cd9e18
Properly divide chmod arguments into options, mode and files (#1400) 2020-08-25 11:51:50 +08:00
Michel Oosterhof 3f801e823b
Fix #1390 (#1391)
* Fix #1390

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

* commit database on shutdown
2020-08-10 21:19:30 +08:00
geniusKoder 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
Benjamin Stephens 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
Michel Oosterhof 39b0c1e519
remove unnecessary returns (#1388) 2020-07-25 23:01:59 +08:00
Michel Oosterhof 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
Michel Oosterhof ffc8cdf57a
new deps0 (#1383)
* new deps
* configparser 5 only supports py3.5+
2020-07-24 21:55:43 +08:00
Michel Oosterhof ae3cb6ced5
add py35 to circle test (#1386) 2020-07-23 19:55:19 +08:00
Michel Oosterhof af86336207
Jun22 (#1385)
* change Jun22->Jul22

* jun23->jul23
2020-07-23 19:51:13 +08:00
Michel Oosterhof 26e15991f7
rename richard->phil (#1384) 2020-07-23 19:39:36 +08:00