File: switch-to-python3.patch

package info (click to toggle)
wfuzz 3.1.0-6
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 2,648 kB
  • sloc: python: 13,161; makefile: 59; sh: 4
file content (77 lines) | stat: -rw-r--r-- 1,869 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
From: Sophie Brun <sophie@offensive-security.com>
Date: Thu, 6 Feb 2020 11:34:12 +0100
Subject: Switch to Python3

Last-Update: 2019-05-03

Change shebang to use python3
Last-Update: 2019-05-03
---
 src/wfencode.py          | 2 +-
 src/wfpayload.py         | 2 +-
 src/wfuzz-cli.py         | 2 +-
 src/wfuzz/wfuzz.py       | 2 +-
 src/wxfuzz.py            | 2 +-
 tests/test_acceptance.py | 2 +-
 6 files changed, 6 insertions(+), 6 deletions(-)

diff --git a/src/wfencode.py b/src/wfencode.py
index 5960353..4cfeb5a 100755
--- a/src/wfencode.py
+++ b/src/wfencode.py
@@ -1,4 +1,4 @@
-#!/usr/bin/env python
+#!/usr/bin/env python3
 from wfuzz.wfuzz import main_encoder
 
 if __name__ == "__main__":
diff --git a/src/wfpayload.py b/src/wfpayload.py
index ae37f31..5004edc 100644
--- a/src/wfpayload.py
+++ b/src/wfpayload.py
@@ -1,4 +1,4 @@
-#!/usr/bin/env python
+#!/usr/bin/env python3
 from wfuzz.wfuzz import main_filter
 
 if __name__ == "__main__":
diff --git a/src/wfuzz-cli.py b/src/wfuzz-cli.py
index fb328f5..b084536 100644
--- a/src/wfuzz-cli.py
+++ b/src/wfuzz-cli.py
@@ -1,4 +1,4 @@
-#!/usr/bin/env python
+#!/usr/bin/env python3
 
 from wfuzz.wfuzz import main
 
diff --git a/src/wfuzz/wfuzz.py b/src/wfuzz/wfuzz.py
index 559b9df..d6e1b5a 100644
--- a/src/wfuzz/wfuzz.py
+++ b/src/wfuzz/wfuzz.py
@@ -1,4 +1,4 @@
-#!/usr/bin/env python
+#!/usr/bin/env python3
 import sys
 import warnings
 
diff --git a/src/wxfuzz.py b/src/wxfuzz.py
index 937beb3..f9d05ac 100644
--- a/src/wxfuzz.py
+++ b/src/wxfuzz.py
@@ -1,4 +1,4 @@
-#!/usr/bin/env python
+#!/usr/bin/env python3
 
 from wfuzz.wfuzz import main_gui
 
diff --git a/tests/test_acceptance.py b/tests/test_acceptance.py
index 50a0fff..2b71261 100644
--- a/tests/test_acceptance.py
+++ b/tests/test_acceptance.py
@@ -1,4 +1,4 @@
-#!/usr/bin/python
+#!/usr/bin/python3
 # -*- coding: utf-8 -*-
 
 import copy