sqlmap/extra/shutils/drei.sh

15 lines
660 B
Bash
Raw Normal View History

2019-03-27 17:32:49 +03:00
#!/bin/bash
2023-01-03 01:24:59 +03:00
# Copyright (c) 2006-2023 sqlmap developers (https://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
2019-05-08 13:28:50 +03:00
#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
2020-10-05 22:36:30 +03:00
for i in $(find . -iname "*.py" | grep -v __init__); do PYTHONWARNINGS=all python3 -m compileall $i | sed 's/Compiling/Checking/g'; done
2019-05-03 02:20:10 +03:00
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'