Book a Demo!
CoCalc Logo Icon
StoreFeaturesDocsShareSupportNewsAboutPoliciesSign UpSign In
sqlmapproject
GitHub Repository: sqlmapproject/sqlmap
Path: blob/master/extra/shutils/drei.sh
2992 views
1
#!/bin/bash
2
3
# Copyright (c) 2006-2025 sqlmap developers (https://sqlmap.org)
4
# See the file 'LICENSE' for copying permission
5
6
# Stress test against Python3
7
8
export SQLMAP_DREI=1
9
#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
10
for i in $(find . -iname "*.py" | grep -v __init__); do PYTHONWARNINGS=all python3 -m compileall $i | sed 's/Compiling/Checking/g'; done
11
unset SQLMAP_DREI
12
source `dirname "$0"`"/junk.sh"
13
14
# 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'
15
16