Commit Graph

24 Commits

Author SHA1 Message Date
CLO 9c528fdc0e
moving from twisted.trial.unittest to unittest (#1672)
* replace twisted.trial.unittest with unittest
2022-01-29 11:38:46 +08:00
Michel Oosterhof 2b818ec1ec
Pyre (#1531)
* add pyre
2021-04-13 21:55:23 +08:00
Michel Oosterhof 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
Michel Oosterhof 2de18bb601
Pyupgrade (#1520)
* add pyupgrade
* ignore csirtgsdk updates with pur
* black setup.py
2021-03-30 00:49:43 +08:00
Michel Oosterhof 1462073f96
ignore .eggs (#1293) 2020-01-21 13:36:58 +01:00
Michel Oosterhof a1324ddac0
Tox (#1123)
* tox
2019-05-12 19:40:45 +04:00
Michel Oosterhof bdff9601ca
Move to Restructured text (#979)
From Markdown to RestructuredText
2019-01-09 12:05:16 +04:00
Michel Oosterhof d923e36d7f ignore dist/ 2018-09-07 14:47:48 +04:00
Florian Pelgrim cf0c3affe9 Docker devel image (#871)
* Docker devel image

TL;DR Providing an docker image for local development.

I wanted to have a container which has all the needed tools installed
while developming (eg flake8, pytest, pydev, etc).

The intermediate container `devel` can now be used by PyCharm as a
Remote Interpreter and for debugging. No need to setup any local test
environments because we can now use a pre-release image.
Build the container with `docker build --target devel -t cowrie:devel
.` from within the project root directory.

While building the container I encountered a bug with the
`python:2-alpine3.8` image and (at least, could be other OS also beeing
affected) the macOS kernel trying to use `socket.SO_REUSEPORT`.
After some testing I found out that the problem is just this image. So I
could have just gone and downgraded to `python:2-alpine3.7` or switched over to
`alpine:latest`. But none of them really convinced me after some
research so I decided to switch the Docker image to
`debian:stable-slim`. The resulting image is now slightly bigger then
our previous image but should give a better experience while
debugging stuff. Bonus point is that we have a functional installation
description for Debian based systems.

* New path for twisteds dropin.cache
2018-09-06 16:35:37 +04:00
fe7ch 597a065738 Ignore PyCharm's folder (#724) 2018-04-09 10:56:19 +04:00
Frederik Petersen 19d5a76a29 Extend redis output by password + publish capabilities (#709)
* Added password and send_method options to redis output.

* Renamed local var

* Added eclipse cfg files to gitignore

* Removed undescore
2018-03-26 16:43:07 +04:00
Michel Oosterhof 99b6b1e8a5 ignore egg directory 2017-07-10 17:33:50 +04:00
Michel Oosterhof 58488a907c remove old copyright. add build directory to gitignore 2017-07-10 17:32:31 +04:00
Michel Oosterhof 7cceaed1c4 update gitignore 2017-05-08 13:42:05 +04:00
Michel Oosterhof 9822e7156c update gitignore with new path of key files 2017-05-04 15:44:40 +00:00
Michel Oosterhof 22aadd2de8 update ignore with moved files 2017-04-30 12:42:00 +00:00
Michel Oosterhof 1685f3af79 ignore trial dirs 2017-01-02 14:54:59 +04:00
Michel Oosterhof b8ce4d381f ignore *env 2016-11-13 13:48:19 +04:00
Michel Oosterhof 53742246a3 ignore macosx files 2016-01-17 10:33:08 +04:00
g0tmi1k 63cee78828 gitignore twisted cache'd 2015-12-13 22:38:46 +00:00
Michel Oosterhof e6c3e71dc2 cowrie rename 2015-05-12 14:57:29 +00:00
Michel Oosterhof 658de4b657 ignore all in log/* not just log/kippo.log* 2014-11-09 17:28:53 +04:00
Upi Tamminen 355282dac8 add .gitignore based on ikoniaris' pull request #135 2014-08-09 23:57:47 +03:00
Upi Tamminen c3c09adb02 restructuring and cleanup 2014-08-09 23:55:20 +03:00