mirror of
https://github.com/sqlmapproject/sqlmap
synced 2025-12-08 01:13:17 +01:00
Cosmetics
This commit is contained in:
parent
8a9a57c709
commit
7effd0c301
1 changed files with 7 additions and 4 deletions
|
|
@ -1500,12 +1500,15 @@ def beep():
|
||||||
Does an audible beep sound
|
Does an audible beep sound
|
||||||
Reference: http://de3.aminet.net/dev/src/clr.py.txt
|
Reference: http://de3.aminet.net/dev/src/clr.py.txt
|
||||||
"""
|
"""
|
||||||
|
|
||||||
if sys.platform == 'linux2':
|
if sys.platform == 'linux2':
|
||||||
try:
|
try:
|
||||||
audio = file('/dev/audio', 'wb')
|
audio = file('/dev/audio', 'wb')
|
||||||
|
|
||||||
for i in xrange(250):
|
for i in xrange(250):
|
||||||
audio.write(chr(32) * 4)
|
audio.write(chr(32) * 4)
|
||||||
audio.write(chr(0) * 4)
|
audio.write(chr(0) * 4)
|
||||||
|
|
||||||
audio.close()
|
audio.close()
|
||||||
except:
|
except:
|
||||||
print '\a'
|
print '\a'
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue