File: 05_Fix-minor-spelling-errors.patch

package info (click to toggle)
pyrit 0.5.1%2Bgit20180801-1
  • links: PTS, VCS
  • area: main
  • in suites: buster
  • size: 3,596 kB
  • sloc: python: 4,667; ansic: 3,352; cpp: 1,490; asm: 394; lisp: 192; makefile: 15; sed: 7; sh: 6
file content (74 lines) | stat: -rw-r--r-- 3,288 bytes parent folder | download
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
Description: Fix minor spelling errors spotted by Codespell
Author: Marcos Fouces <marcos.fouces@gmail.com>

--- a/CHANGELOG
+++ b/CHANGELOG
@@ -21,7 +21,7 @@
  * Added CLI-option '-h'
  * Added option to batch-create ESSIDs by reading them for a file
  * Complete rework of packet-parsing and handshake detection
- * Make default workunit-size configureable (workunit_size)
+ * Make default workunit-size configurable (workunit_size)
  * Make maximum number of used CPUs configurable (limit_ncpus)
  * Use GPU-native bitwise rotation with OpenCL if possible
  * Use libpcap to access capture-devices/files
--- a/cpyrit/util.py
+++ b/cpyrit/util.py
@@ -200,7 +200,7 @@
         self._items.insert(i, item)
 
     def remove(self, item):
-        'Remove first occurence of item.  Raise ValueError if not found'
+        'Remove first occurrence of item.  Raise ValueError if not found'
         i = self.index(item)
         del self._keys[i]
         del self._items[i]
@@ -358,7 +358,7 @@
     """A buffered, asynchronous file-like object.
 
        Writing to this object will only block if the internal buffer
-       exceeded it's maximum size. The call to .write() is done in a seperate
+       exceeded it's maximum size. The call to .write() is done in a separate
        thread.
     """
 
--- a/pyrit_cli.py
+++ b/pyrit_cli.py
@@ -740,7 +740,7 @@
            Read passwords from the file given by -i and compute their PMKs for
            the ESSID given by -e. The results are written to the file specified
            by -o in cowpatty's binary format and are not stored in the database
-           for later use. This command therefor circumvents the entire database
+           for later use. This command therefore circumvents the entire database
            and should only be used if storage-space is a problem (e.g. when
            using pyrit on a LiveCD). The batch-command provides exactly the
            same functionality as passthrough but can give much better
@@ -778,7 +778,7 @@
            Start to translate all passwords in the database into their
            respective PMKs and store the results in the database. The option -e
            may be used to restrict this command to a single ESSID; if it is
-           ommitted, all ESSIDs are processed one after the other in undefined
+           omitted, all ESSIDs are processed one after the other in undefined
            order.
 
            For example:
@@ -1430,7 +1430,7 @@
                     if key not in storage.passwords:
                         # A resultset exists that is not referenced by workunit
                         raise cpyrit.storage.StorageError("Reference error")
-                    # Some errors are catched here
+                    # Some errors are caught here
                     res = storage.essids[essid, key]
                     # Check entries
                     for pw, pmk in res:
--- a/modules/cpyrit_calpp/setup.py
+++ b/modules/cpyrit_calpp/setup.py
@@ -34,7 +34,7 @@
 try:
     CALPP_INC_DIR = os.environ['ATISTREAMSDKROOT']
 except KeyError:
-    print >>sys.stderr, "unavailable enviroment variable ATISTREAMSDKROOT"
+    print >>sys.stderr, "unavailable environment variable ATISTREAMSDKROOT"
     raise
 else:
     if os.path.exists(CALPP_INC_DIR):