sqlmap/extra/shutils/modernize.sh

9 lines
305 B
Bash
Raw Permalink Normal View History

2019-05-03 02:20:10 +03:00
#!/bin/bash
2024-01-04 01:11:52 +03:00
# Copyright (c) 2006-2024 sqlmap developers (https://sqlmap.org/)
2019-05-03 02:20:10 +03:00
# 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