Skip to content

Commit

Permalink
added changes to copyright and versioning
Browse files Browse the repository at this point in the history
  • Loading branch information
0xInfection committed Jul 17, 2022
1 parent 03b74c0 commit da9b7f4
Show file tree
Hide file tree
Showing 165 changed files with 326 additions and 331 deletions.
316 changes: 158 additions & 158 deletions README.md

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion docs/wafw00f.8
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ Pinaki Mondal (@0xInfection)
.SH REPORTING BUGS
You can report bugs at the project homepage issue tracker: <https://github.com/EnableSecurity/wafw00f/issues/>.
.SH COPYRIGHT
Copyright (C) 2009-2020 WAFW00F Developers. License: BSD 3-Clause <https://opensource.org/licenses/BSD-3-Clause>.
Copyright (C) 2009-2022 WAFW00F Developers. License: BSD 3-Clause <https://opensource.org/licenses/BSD-3-Clause>.
.br
This is free software: you are free to modify and distribute under the terms as permitted by the license provided alongwith.
.SH SEE ALSO
Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#!/usr/bin/env python
'''
Copyright (C) 2020, WAFW00F Developers.
Copyright (C) 2022, WAFW00F Developers.
See the LICENSE file for copying permission.
'''

Expand Down
2 changes: 1 addition & 1 deletion wafw00f/__init__.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/usr/bin/env python

__version__ = '2.1.0'
__version__ = '2.2.0'
__license__ = 'BSD 3-Clause'
2 changes: 1 addition & 1 deletion wafw00f/lib/asciiarts.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#!/usr/bin/env python
'''
Copyright (C) 2020, WAFW00F Developers.
Copyright (C) 2022, WAFW00F Developers.
See the LICENSE file for copying permission.
'''

Expand Down
15 changes: 5 additions & 10 deletions wafw00f/lib/evillib.py
Original file line number Diff line number Diff line change
@@ -1,11 +1,9 @@
#!/usr/bin/env python
'''
Copyright (C) 2020, WAFW00F Developers.
Copyright (C) 2022, WAFW00F Developers.
See the LICENSE file for copying permission.
'''

import re
import sys
import time
import logging
from copy import copy
Expand All @@ -16,13 +14,10 @@
from urlparse import urlparse, urlunparse
except ImportError:
from urllib.parse import urlparse, urlunparse
try:
from urllib import quote, unquote
except ImportError:
from urllib.parse import quote, unquote

# For requests < 2.16, this should be used.
# requests.packages.urllib3.disable_warnings(InsecureRequestWarning)
# For requests >= 2.16, this is the convention
# For requests >= 2.16, this is the convention
urllib3.disable_warnings(urllib3.exceptions.InsecureRequestWarning)

def_headers = {'Accept' : 'text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,image/apng,*/*;q=0.8,application/signed-exchange;v=b3',
Expand Down Expand Up @@ -58,7 +53,7 @@ def urlParser(target):
return (hostname, port, path, query, ssl)

class waftoolsengine:
def __init__(self, target='https://example.com', debuglevel=0, path='/', proxies=None,
def __init__(self, target='https://example.com', debuglevel=0, path='/', proxies=None,
redir=True, head=None):
self.target = target
self.debuglevel = debuglevel
Expand All @@ -76,7 +71,7 @@ def __init__(self, target='https://example.com', debuglevel=0, path='/', proxies
def Request(self, headers=None, path=None, params={}, delay=0, timeout=7):
try:
time.sleep(delay)
if not headers:
if not headers:
h = self.headers
else: h = headers
req = requests.get(self.target, proxies=self.proxies, headers=h, timeout=timeout,
Expand Down
2 changes: 1 addition & 1 deletion wafw00f/main.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
#!/usr/bin/env python
# -*- coding: utf-8 -*-
'''
Copyright (C) 2020, WAFW00F Developers.
Copyright (C) 2022, WAFW00F Developers.
See the LICENSE file for copying permission.
'''
# For keeping python2 support for now
Expand Down
2 changes: 1 addition & 1 deletion wafw00f/manager.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#!/usr/bin/env python
'''
Copyright (C) 2020, WAFW00F Developers.
Copyright (C) 2022, WAFW00F Developers.
See the LICENSE file for copying permission.
'''

Expand Down
2 changes: 1 addition & 1 deletion wafw00f/plugins/aesecure.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#!/usr/bin/env python
'''
Copyright (C) 2020, WAFW00F Developers.
Copyright (C) 2022, WAFW00F Developers.
See the LICENSE file for copying permission.
'''

Expand Down
2 changes: 1 addition & 1 deletion wafw00f/plugins/airee.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#!/usr/bin/env python
'''
Copyright (C) 2020, WAFW00F Developers.
Copyright (C) 2022, WAFW00F Developers.
See the LICENSE file for copying permission.
'''

Expand Down
2 changes: 1 addition & 1 deletion wafw00f/plugins/airlock.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#!/usr/bin/env python
'''
Copyright (C) 2020, WAFW00F Developers.
Copyright (C) 2022, WAFW00F Developers.
See the LICENSE file for copying permission.
'''

Expand Down
2 changes: 1 addition & 1 deletion wafw00f/plugins/alertlogic.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#!/usr/bin/env python
'''
Copyright (C) 2020, WAFW00F Developers.
Copyright (C) 2022, WAFW00F Developers.
See the LICENSE file for copying permission.
'''

Expand Down
2 changes: 1 addition & 1 deletion wafw00f/plugins/aliyundun.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#!/usr/bin/env python
'''
Copyright (C) 2020, WAFW00F Developers.
Copyright (C) 2022, WAFW00F Developers.
See the LICENSE file for copying permission.
'''

Expand Down
2 changes: 1 addition & 1 deletion wafw00f/plugins/anquanbao.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#!/usr/bin/env python
'''
Copyright (C) 2020, WAFW00F Developers.
Copyright (C) 2022, WAFW00F Developers.
See the LICENSE file for copying permission.
'''

Expand Down
2 changes: 1 addition & 1 deletion wafw00f/plugins/anyu.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#!/usr/bin/env python
'''
Copyright (C) 2020, WAFW00F Developers.
Copyright (C) 2022, WAFW00F Developers.
See the LICENSE file for copying permission.
'''

Expand Down
2 changes: 1 addition & 1 deletion wafw00f/plugins/approach.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#!/usr/bin/env python
'''
Copyright (C) 2020, WAFW00F Developers.
Copyright (C) 2022, WAFW00F Developers.
See the LICENSE file for copying permission.
'''

Expand Down
2 changes: 1 addition & 1 deletion wafw00f/plugins/armor.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#!/usr/bin/env python
'''
Copyright (C) 2020, WAFW00F Developers.
Copyright (C) 2022, WAFW00F Developers.
See the LICENSE file for copying permission.
'''

Expand Down
2 changes: 1 addition & 1 deletion wafw00f/plugins/arvancloud.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#!/usr/bin/env python
'''
Copyright (C) 2020, WAFW00F Developers.
Copyright (C) 2022, WAFW00F Developers.
See the LICENSE file for copying permission.
'''

Expand Down
2 changes: 1 addition & 1 deletion wafw00f/plugins/aspa.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#!/usr/bin/env python
'''
Copyright (C) 2020, WAFW00F Developers.
Copyright (C) 2022, WAFW00F Developers.
See the LICENSE file for copying permission.
'''

Expand Down
2 changes: 1 addition & 1 deletion wafw00f/plugins/aspnetgen.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#!/usr/bin/env python
'''
Copyright (C) 2020, WAFW00F Developers.
Copyright (C) 2022, WAFW00F Developers.
See the LICENSE file for copying permission.
'''

Expand Down
2 changes: 1 addition & 1 deletion wafw00f/plugins/astra.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#!/usr/bin/env python
'''
Copyright (C) 2020, WAFW00F Developers.
Copyright (C) 2022, WAFW00F Developers.
See the LICENSE file for copying permission.
'''

Expand Down
2 changes: 1 addition & 1 deletion wafw00f/plugins/awswaf.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#!/usr/bin/env python
'''
Copyright (C) 2020, WAFW00F Developers.
Copyright (C) 2022, WAFW00F Developers.
See the LICENSE file for copying permission.
'''

Expand Down
2 changes: 1 addition & 1 deletion wafw00f/plugins/azion.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#!/usr/bin/env python
'''
Copyright (C) 2020, WAFW00F Developers.
Copyright (C) 2022, WAFW00F Developers.
See the LICENSE file for copying permission.
'''

Expand Down
2 changes: 1 addition & 1 deletion wafw00f/plugins/baidu.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#!/usr/bin/env python
'''
Copyright (C) 2020, WAFW00F Developers.
Copyright (C) 2022, WAFW00F Developers.
See the LICENSE file for copying permission.
'''

Expand Down
2 changes: 1 addition & 1 deletion wafw00f/plugins/barikode.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#!/usr/bin/env python
'''
Copyright (C) 2020, WAFW00F Developers.
Copyright (C) 2022, WAFW00F Developers.
See the LICENSE file for copying permission.
'''

Expand Down
2 changes: 1 addition & 1 deletion wafw00f/plugins/barracuda.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#!/usr/bin/env python
'''
Copyright (C) 2020, WAFW00F Developers.
Copyright (C) 2022, WAFW00F Developers.
See the LICENSE file for copying permission.
'''

Expand Down
2 changes: 1 addition & 1 deletion wafw00f/plugins/bekchy.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#!/usr/bin/env python
'''
Copyright (C) 2020, WAFW00F Developers.
Copyright (C) 2022, WAFW00F Developers.
See the LICENSE file for copying permission.
'''

Expand Down
2 changes: 1 addition & 1 deletion wafw00f/plugins/beluga.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#!/usr/bin/env python
'''
Copyright (C) 2020, WAFW00F Developers.
Copyright (C) 2022, WAFW00F Developers.
See the LICENSE file for copying permission.
'''

Expand Down
2 changes: 1 addition & 1 deletion wafw00f/plugins/binarysec.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#!/usr/bin/env python
'''
Copyright (C) 2020, WAFW00F Developers.
Copyright (C) 2022, WAFW00F Developers.
See the LICENSE file for copying permission.
'''

Expand Down
2 changes: 1 addition & 1 deletion wafw00f/plugins/bitninja.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#!/usr/bin/env python
'''
Copyright (C) 2020, WAFW00F Developers.
Copyright (C) 2022, WAFW00F Developers.
See the LICENSE file for copying permission.
'''

Expand Down
2 changes: 1 addition & 1 deletion wafw00f/plugins/blockdos.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#!/usr/bin/env python
'''
Copyright (C) 2020, WAFW00F Developers.
Copyright (C) 2022, WAFW00F Developers.
See the LICENSE file for copying permission.
'''

Expand Down
2 changes: 1 addition & 1 deletion wafw00f/plugins/bluedon.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#!/usr/bin/env python
'''
Copyright (C) 2020, WAFW00F Developers.
Copyright (C) 2022, WAFW00F Developers.
See the LICENSE file for copying permission.
'''

Expand Down
2 changes: 1 addition & 1 deletion wafw00f/plugins/bulletproof.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#!/usr/bin/env python
'''
Copyright (C) 2020, WAFW00F Developers.
Copyright (C) 2022, WAFW00F Developers.
See the LICENSE file for copying permission.
'''

Expand Down
2 changes: 1 addition & 1 deletion wafw00f/plugins/cachefly.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#!/usr/bin/env python
'''
Copyright (C) 2020, WAFW00F Developers.
Copyright (C) 2022, WAFW00F Developers.
See the LICENSE file for copying permission.
'''

Expand Down
2 changes: 1 addition & 1 deletion wafw00f/plugins/cachewall.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#!/usr/bin/env python
'''
Copyright (C) 2020, WAFW00F Developers.
Copyright (C) 2022, WAFW00F Developers.
See the LICENSE file for copying permission.
'''

Expand Down
2 changes: 1 addition & 1 deletion wafw00f/plugins/cdnns.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#!/usr/bin/env python
'''
Copyright (C) 2020, WAFW00F Developers.
Copyright (C) 2022, WAFW00F Developers.
See the LICENSE file for copying permission.
'''

Expand Down
2 changes: 1 addition & 1 deletion wafw00f/plugins/cerber.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#!/usr/bin/env python
'''
Copyright (C) 2020, WAFW00F Developers.
Copyright (C) 2022, WAFW00F Developers.
See the LICENSE file for copying permission.
'''

Expand Down
2 changes: 1 addition & 1 deletion wafw00f/plugins/chinacache.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#!/usr/bin/env python
'''
Copyright (C) 2020, WAFW00F Developers.
Copyright (C) 2022, WAFW00F Developers.
See the LICENSE file for copying permission.
'''

Expand Down
2 changes: 1 addition & 1 deletion wafw00f/plugins/chuangyu.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#!/usr/bin/env python
'''
Copyright (C) 2020, WAFW00F Developers.
Copyright (C) 2022, WAFW00F Developers.
See the LICENSE file for copying permission.
'''

Expand Down
2 changes: 1 addition & 1 deletion wafw00f/plugins/ciscoacexml.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#!/usr/bin/env python
'''
Copyright (C) 2020, WAFW00F Developers.
Copyright (C) 2022, WAFW00F Developers.
See the LICENSE file for copying permission.
'''

Expand Down
2 changes: 1 addition & 1 deletion wafw00f/plugins/cloudbric.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#!/usr/bin/env python
'''
Copyright (C) 2020, WAFW00F Developers.
Copyright (C) 2022, WAFW00F Developers.
See the LICENSE file for copying permission.
'''

Expand Down
2 changes: 1 addition & 1 deletion wafw00f/plugins/cloudflare.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#!/usr/bin/env python
'''
Copyright (C) 2020, WAFW00F Developers.
Copyright (C) 2022, WAFW00F Developers.
See the LICENSE file for copying permission.
'''

Expand Down
2 changes: 1 addition & 1 deletion wafw00f/plugins/cloudfloordns.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#!/usr/bin/env python
'''
Copyright (C) 2020, WAFW00F Developers.
Copyright (C) 2022, WAFW00F Developers.
See the LICENSE file for copying permission.
'''

Expand Down
2 changes: 1 addition & 1 deletion wafw00f/plugins/cloudfront.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#!/usr/bin/env python
'''
Copyright (C) 2020, WAFW00F Developers.
Copyright (C) 2022, WAFW00F Developers.
See the LICENSE file for copying permission.
'''

Expand Down
2 changes: 1 addition & 1 deletion wafw00f/plugins/cloudprotector.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#!/usr/bin/env python
'''
Copyright (C) 2020, WAFW00F Developers.
Copyright (C) 2022, WAFW00F Developers.
See the LICENSE file for copying permission.
'''

Expand Down
2 changes: 1 addition & 1 deletion wafw00f/plugins/comodo.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#!/usr/bin/env python
'''
Copyright (C) 2020, WAFW00F Developers.
Copyright (C) 2022, WAFW00F Developers.
See the LICENSE file for copying permission.
'''

Expand Down
Loading

1 comment on commit da9b7f4

@hamzafawad
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

sir need firewall detection sample code. Pls

Please sign in to comment.