• 0 Posts
  • 39 Comments
Joined 1 year ago
cake
Cake day: July 1st, 2023

help-circle



  • Even if it isn’t an intentional attack you don’t want people bringing God knows what on USB sticks that may or may not just be infected from the users own home PC. USB storage devices are lovely targets.

    But yeah the South Korean military got infected by a soldier plugging in a planted USB stick.

    I think the narrative of a targeted attack is easier to sell though. Make it us vs them and people grasp the concept a little better. This is very common in information security training in a lot of fields in my experience.












  • of course sorry for delay.

    Requirements: wmctrl, xdotool

    My left screen is 1440p, second screen to the right is 1080 in portrait so you will have to swap the horz/vert locations to match your layout.

    #!/bin/bash
    
    # Time in seconds to wait after launch of program and manipulation of window
    timer=5
    
    # Launch FreeCAD maximized on the main screen
    freecad &
    sleep $timer  # Wait for FreeCAD to launch
    wmctrl -r "FreeCAD" -b add,maximized_vert,maximized_horz
    
    # Launch Cura on the second screen, top half
    cura &
    sleep $timer  # Wait for Cura to launch
    xdotool search --onlyvisible --name "Ultimaker Cura" windowsize 540 960 windowmove 2560 0
    
    # Launch Firefox on the second screen, bottom half
    firefox &
    sleep $timer  # Wait for Firefox to launch
    xdotool search --onlyvisible --name "Mozilla Firefox" windowsize 540 960 windowmove 2560 960
    
    echo "Applications have been launched and positioned."