mirror of
https://github.com/sqlmapproject/sqlmap.git
synced 2025-12-06 12:41:30 +00:00
Cosmetics
This commit is contained in:
@@ -1500,12 +1500,15 @@ def beep():
|
||||
Does an audible beep sound
|
||||
Reference: http://de3.aminet.net/dev/src/clr.py.txt
|
||||
"""
|
||||
|
||||
if sys.platform == 'linux2':
|
||||
try:
|
||||
audio = file('/dev/audio', 'wb')
|
||||
|
||||
for i in xrange(250):
|
||||
audio.write(chr(32) * 4)
|
||||
audio.write(chr(0) * 4)
|
||||
|
||||
audio.close()
|
||||
except:
|
||||
print '\a'
|
||||
|
||||
Reference in New Issue
Block a user