File tree Expand file tree Collapse file tree 3 files changed +6
-7
lines changed Expand file tree Collapse file tree 3 files changed +6
-7
lines changed Original file line number Diff line number Diff line change @@ -112,7 +112,7 @@ c94d5c9ae4e4b996eaf0d06a6c5323a12f22653bb53c5eaf5400ee0bccf4a1eb doc/translatio
112
112
0bccce9d2e48e7acc1ef126539a50d3d83c439f94cc6387c1331a9960604a2cd doc/translations/README-uk-UA.md
113
113
285c997e8ae7381d765143b5de6721cad598d564fd5f01a921108f285d9603a2 doc/translations/README-vi-VN.md
114
114
b553a179c731127a115d68dfb2342602ad8558a42aa123050ba51a08509483f6 doc/translations/README-zh-CN.md
115
- 783ddbaa638d2d2987be7aa2e9e9e40aef8c0b7a132db60949e43bc733d01978 extra/beep/beep.py
115
+ 3194d9178c91a0fcfeeeff331e214f4e42df658031854d328c81da57480d091b extra/beep/beep.py
116
116
509276140d23bfc079a6863e0291c4d0077dea6942658a992cbca7904a43fae9 extra/beep/beep.wav
117
117
1d6e741e19e467650dce2ca84aa824d6df68ff74aedbe4afa8dbdb0193d94918 extra/beep/__init__.py
118
118
3b54434b0d00c8fd12328ef8e567821bd73a796944cb150539aa362803ab46e5 extra/cloak/cloak.py
@@ -188,7 +188,7 @@ c6a182f6b7d3b0ad6f0888ea2a4de4148f0770549038d7de8bc3267b4c6635f7 lib/core/readl
188
188
63ae69713c6ea9abfa10e71dfab8f2dcf42432177a38d2c1e98785bf1468674c lib/core/replication.py
189
189
5bad5bc7115051cef7b84efa73fbafbf5e1db46eef32a445056b56cda750b66f lib/core/revision.py
190
190
0dcb52c9c76a4b0acf2e9038f7d8f08c14543cef3cf7032831c6c0a99376ad24 lib/core/session.py
191
- d7dfa97fd24dd206144167df69f508fe042f8a0d13f70eb95c0949f891f9d262 lib/core/settings.py
191
+ 4aa551df40b183ef5ce876a70af38acc03f455ffbbd3b7be0c79c4c1909841e3 lib/core/settings.py
192
192
a1e4f2860bffc73bbf2e5db293fa49dcb600ea35f950cda43dc953b3160ab3db lib/core/shell.py
193
193
841716e87b90a3b598515910841f7cf8d33bb87c24a27fba1a80e36a831cbcd7 lib/core/subprocessng.py
194
194
9731092f195e346716929323ea3c93247b23b9b92b0f32d3fd0acc3adf9876cc lib/core/target.py
Original file line number Diff line number Diff line change @@ -18,7 +18,7 @@ def beep():
18
18
if sys .platform .startswith ("win" ):
19
19
_win_wav_play (BEEP_WAV_FILENAME )
20
20
elif sys .platform .startswith ("darwin" ):
21
- _mac_beep ( )
21
+ _mac_wav_play ( BEEP_WAV_FILENAME )
22
22
elif sys .platform .startswith ("cygwin" ):
23
23
_cygwin_beep (BEEP_WAV_FILENAME )
24
24
elif any (sys .platform .startswith (_ ) for _ in ("linux" , "freebsd" )):
@@ -40,9 +40,8 @@ def _speaker_beep():
40
40
def _cygwin_beep (filename ):
41
41
os .system ("play-sound-file '%s' 2>/dev/null" % filename )
42
42
43
- def _mac_beep ():
44
- import Carbon .Snd
45
- Carbon .Snd .SysBeep (1 )
43
+ def _mac_wav_play (filename ):
44
+ os .system ("afplay '%s' 2>/dev/null" % BEEP_WAV_FILENAME )
46
45
47
46
def _win_wav_play (filename ):
48
47
import winsound
Original file line number Diff line number Diff line change 19
19
from thirdparty import six
20
20
21
21
# sqlmap version (<major>.<minor>.<month>.<monthly commit>)
22
- VERSION = "1.9.2.2 "
22
+ VERSION = "1.9.2.3 "
23
23
TYPE = "dev" if VERSION .count ('.' ) > 2 and VERSION .split ('.' )[- 1 ] != '0' else "stable"
24
24
TYPE_COLORS = {"dev" : 33 , "stable" : 90 , "pip" : 34 }
25
25
VERSION_STRING = "sqlmap/%s#%s" % ('.' .join (VERSION .split ('.' )[:- 1 ]) if VERSION .count ('.' ) > 2 and VERSION .split ('.' )[- 1 ] == '0' else VERSION , TYPE )
You can’t perform that action at this time.
0 commit comments