Commit Graph

3026 Commits

Author SHA1 Message Date
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
ffa60ba3f2 Flake8 f523 (#1369)
* fix flake8 error F523
2020-07-03 10:35:42 +08:00
f55555b6c6 Nc int (#1368)
* allow `nc 1 1` and a few more checks
2020-07-02 11:16:24 +08:00
ebc9bf8ae9 dependency upgrade Thu Jul 2 10:36:05 +08 2020 (#1367)
* dependency upgrade Thu Jul  2 10:36:05 +08 2020
* fix version of flake8
2020-07-02 11:10:52 +08:00
66eddab75b Update libvirt version (5.5.0 to 6.4.0) (#1363)
* update python-libvirt to 6.4.0

* minor doc improvement

* remove python 2 reference
2020-06-22 11:19:52 +01:00
982d60df17 fix some bugs in NAT (#1364) 2020-06-22 16:41:05 +08:00
e7952e0de9 ToC update (#1360) 2020-06-08 13:54:29 +08:00
dea7855c33 Sonarcloud 1 (#1358)
* remove duplicate branch

* do check malshare ssl cert
2020-06-01 11:29:34 +08:00
2ea41be79c fix exception attributes (#1357) 2020-06-01 11:23:13 +08:00
8b4003e9d6 string-bytes conversion for py3 (#1356) 2020-06-01 10:56:08 +08:00
d026d0424b dependency upgrade Thu May 14 14:11:21 +08 2020 (#1352) 2020-05-15 11:11:20 +08:00
4beccf24c6 remove libvirt from tox (#1353) 2020-05-15 11:04:52 +08:00
b6fb25dedb some small linting fixes (#1351)
* small linting fixes for new version of flake8
* format string fix
* expand single letter variable names
2020-05-15 10:27:02 +08:00
02e8e24493 Hpfeeds3 hex2 (#1350)
* use hex() rather than encode('hex') to avoid UTF parsing failures
2020-05-11 11:00:38 +08:00
53ddb8d7d7 get ready for releae (#1349) v2.1.0 2020-05-10 23:38:03 +08:00
a7dd5f5d20 Abuseipdb plugin (#1346)
* Added section for AbuseIPDB plugin
* Create abuseipdb.py
* replace abuseipdb instructions with reference to its pull request page on github

Co-authored-by: -8 <57877722+hyfn8@users.noreply.github.com>
2020-05-07 14:17:59 +08:00
84e726895c add warning for py2.7 (#1348) 2020-05-05 12:33:52 +08:00
b8e0df92f6 remove py34 support from tox (#1347) 2020-05-05 10:52:10 +08:00