Category: Technology

  • Gentoo glsa-check

    Gentoo glsa-check

    Quick Primer on using Gentoo’s glsa-check tool.

     glsa-check --help
    usage: glsa-check <option> [glsa-id | all | new | affected]
    
    options:
      -h, --help        show this help message and exit
      -V, --version     Show information about glsa-check
      -q, --quiet       Be less verbose and do not send empty mail
      -v, --verbose     Print more messages
      -n, --nocolor     Removes color from output
      -e, --emergelike  Upgrade to latest version (not least-change)
      -c, --cve         Show CVE IDs in listing mode
      -r, --reverse     List GLSAs in reverse order
    
    Modes:
      -l, --list        List a summary for the given GLSA(s) or set and whether they affect the system
      -d, --dump        Show all information about the GLSA(s) or set
      --print           Alias for --dump
      -t, --test        Test if this system is affected by the GLSA(s) or set and output the GLSA ID(s)
      -p, --pretend     Show the necessary steps to remediate the system
      -f, --fix         (experimental) Attempt to remediate the system based on the instructions given in the GLSA(s) or
                        set. This will only upgrade (when an upgrade path exists) or remove packages
      -i, --inject      Inject the given GLSA(s) into the glsa_injected file
      -m, --mail        Send a mail with the given GLSAs to the administrator
    
    glsa-list can contain an arbitrary number of GLSA ids, filenames containing GLSAs or the special identifiers 'all'
    and 'affected'

    Check for vulnerable packages with ‘-p’ (pretend) flag:

     glsa-check -p all
    Checking GLSA 200409-10
    >>> no vulnerable packages installed
    
    
    Checking GLSA 200411-08
    >>> no vulnerable packages installed
    ...

    Check AND fix vulnerable packages with ‘-f’ (fix) flag:

    glsa-check -f all
    Fixing GLSA 200409-10
    >>> no vulnerable packages installed
    
    Fixing GLSA 200411-08
    >>> no vulnerable packages installed
    ...

    And that’s a wrap!

  • Ducky Roll

    Ducky Roll

    This is the Ducky Script (Bad USB) version of the classic Rick Roll.

    Windows

    WINDOWS r
    DELAY 500
    STRING https://youtu.be/dQw4w9WgXcQ?si=DXj7ZN03EQAH3sOY
    ENTER

    Enjoy! 😉

  • Serial Consoles Considered Legacy?

    Serial Consoles Considered Legacy?

    I love how serial consoles are considered legacy by some, yet on dev boards it is the only way to interact with it until you have an OS installed. Ubuntu seems to not only no longer support serial console installs (last mention was 16.04 and even that required modifying the installer a little), but they seem to no longer support pxe as well..? I guess I’ll look into a “legacy” distro then. Cursor search suggests Debian still supports both serial consoles and pxe…