mirror of
https://github.com/sqlmapproject/sqlmap.git
synced 2025-12-06 04:31:30 +00:00
Minor improvement for _linux_wav_play
This commit is contained in:
@@ -49,7 +49,7 @@ def _win_wav_play(filename):
|
||||
winsound.PlaySound(filename, winsound.SND_FILENAME)
|
||||
|
||||
def _linux_wav_play(filename):
|
||||
for _ in ("aplay", "paplay", "play"):
|
||||
for _ in ("paplay", "aplay", "mpv", "mplayer", "play"):
|
||||
if not os.system("%s '%s' 2>/dev/null" % (_, filename)):
|
||||
return
|
||||
|
||||
|
||||
Reference in New Issue
Block a user