Skip to content

Commit 1bcaffc

Browse files
committed
Make sure profile name is random
1 parent 0369559 commit 1bcaffc

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

modules/post/multi/manage/play_youtube.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,7 @@ def win_start_video(id)
7474
def linux_start_video(id)
7575
begin
7676
# Create a profile
77-
profile_name = "temp_profile"
77+
profile_name = Rex::Text.rand_text_alpha(8)
7878
o = cmd_exec(%Q|firefox --display :0 -CreateProfile "#{profile_name} /tmp/#{profile_name}"|)
7979

8080
# Add user-defined settings to profile

0 commit comments

Comments
 (0)