sqlmap/extra/shutils/modernize.sh
2024-01-03 23:11:52 +01:00

9 lines
305 B
Bash
Executable File

#!/bin/bash
# Copyright (c) 2006-2024 sqlmap developers (https://sqlmap.org/)
# See the file 'LICENSE' for copying permission
# sudo pip install modernize
for i in $(find . -iname "*.py" | grep -v __init__); do python-modernize $i 2>&1 | grep -E '^[+-]' | grep -v range | grep -v absolute_import; done