Commit Graph

2966 Commits

Author SHA1 Message Date
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
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