sqlmap/extra/shutils/drei.sh

14 lines
521 B
Bash
Raw Normal View History

2019-03-27 17:32:49 +03:00
#!/bin/bash
2019-04-19 14:54:48 +03:00
# Copyright (c) 2006-2019 sqlmap developers (http://sqlmap.org/)
2019-03-27 17:32:49 +03:00
# See the file 'LICENSE' for copying permission
# Stress test against Python3
2019-04-30 12:41:03 +03:00
2019-05-03 02:20:10 +03:00
export SQLMAP_DREI=1
for i in $(find . -iname "*.py" | grep -v __init__); do python3 -c 'import '`echo $i | cut -d '.' -f 2 | cut -d '/' -f 2- | sed 's/\//./g'`''; done
unset SQLMAP_DREI
source `dirname "$0"`"/junk.sh"
2019-05-03 00:51:54 +03:00
2019-05-03 02:20:10 +03:00
# for i in $(find . -iname "*.py" | grep -v __init__); do timeout 10 pylint --py3k $i; done 2>&1 | grep -v -E 'absolute_import|No config file'