mirror of
https://github.com/aljazceru/cowrie.git
synced 2025-12-17 05:54:21 +01:00
Merge branch 'master' of https://github.com/micheloosterhof/cowrie
This commit is contained in:
@@ -15,7 +15,7 @@ find_cowrie_directory() {
|
||||
else
|
||||
COWRIEDIR=$(dirname $PWD/$0)/..
|
||||
fi
|
||||
COWRIEDIR=$(cd ${COWRIEDIR} && pwd -P 2>/dev/null | pwd)
|
||||
COWRIEDIR=$(cd ${COWRIEDIR} && pwd -P 2>/dev/null || pwd)
|
||||
}
|
||||
|
||||
activate_venv() {
|
||||
|
||||
@@ -27,7 +27,7 @@ CREATE TABLE IF NOT EXISTS `input` (
|
||||
|
||||
CREATE TABLE IF NOT EXISTS `sensors` (
|
||||
`id` int(11) NOT NULL auto_increment,
|
||||
`ip` varchar(15) NOT NULL,
|
||||
`ip` varchar(255) NOT NULL,
|
||||
PRIMARY KEY (`id`)
|
||||
) ;
|
||||
|
||||
|
||||
1
doc/sql/update11.sql
Normal file
1
doc/sql/update11.sql
Normal file
@@ -0,0 +1 @@
|
||||
ALTER TABLE sensors MODIFY ip VARCHAR(255) NOT NULL;
|
||||
Reference in New Issue
Block a user