Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Brite
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (Cyborg)
  • No Skin
Collapse
Brand Logo

CIRCLE WITH A DOT

  1. Home
  2. Uncategorized
  3. Simple age check for Linux:

Simple age check for Linux:

Scheduled Pinned Locked Moved Uncategorized
21 Posts 16 Posters 18 Views
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • stacksmashing@infosec.exchangeS stacksmashing@infosec.exchange

    Simple age check for Linux:

    Just have the shell ask the user to check the host IP on first boot.

    If they type ifconfig they are old enough, if they type ip they deserve to be restricted from their computer πŸ˜‡

    bmartin427@techhub.socialB This user is from outside of this forum
    bmartin427@techhub.socialB This user is from outside of this forum
    bmartin427@techhub.social
    wrote last edited by
    #11

    @stacksmashing I've fully retrained myself to use ip for common tasks, but I resorted to ifconfig the other day to assign a second, static IP to an existing interface

    1 Reply Last reply
    0
    • stacksmashing@infosec.exchangeS stacksmashing@infosec.exchange

      Simple age check for Linux:

      Just have the shell ask the user to check the host IP on first boot.

      If they type ifconfig they are old enough, if they type ip they deserve to be restricted from their computer πŸ˜‡

      brie@mastodon.socialB This user is from outside of this forum
      brie@mastodon.socialB This user is from outside of this forum
      brie@mastodon.social
      wrote last edited by
      #12

      @stacksmashing My personal hell version of this is keeping forgetting about systemd timers and just getting pissed when I don't find what I'm looking for with crontab

      1 Reply Last reply
      0
      • stacksmashing@infosec.exchangeS stacksmashing@infosec.exchange

        Simple age check for Linux:

        Just have the shell ask the user to check the host IP on first boot.

        If they type ifconfig they are old enough, if they type ip they deserve to be restricted from their computer πŸ˜‡

        bytex64@awesome.gardenB This user is from outside of this forum
        bytex64@awesome.gardenB This user is from outside of this forum
        bytex64@awesome.garden
        wrote last edited by
        #13

        @stacksmashing For FreeBSD:

        If you’re using FreeBSD, you’re old enough.

        1 Reply Last reply
        0
        • stacksmashing@infosec.exchangeS stacksmashing@infosec.exchange

          Simple age check for Linux:

          Just have the shell ask the user to check the host IP on first boot.

          If they type ifconfig they are old enough, if they type ip they deserve to be restricted from their computer πŸ˜‡

          cheesefox@infosec.exchangeC This user is from outside of this forum
          cheesefox@infosec.exchangeC This user is from outside of this forum
          cheesefox@infosec.exchange
          wrote last edited by
          #14

          @stacksmashing always so annoying when ifconfig returns β€˜command not found’

          1 Reply Last reply
          0
          • hisold@toot.ioH hisold@toot.io

            @stacksmashing What if they type ipconfig /all ? πŸ’€

            kaaswe@swecyb.comK This user is from outside of this forum
            kaaswe@swecyb.comK This user is from outside of this forum
            kaaswe@swecyb.com
            wrote last edited by
            #15

            @hisold @stacksmashing
            Ban them for life, unfriend and block

            1 Reply Last reply
            0
            • canlehmann@mastodon.socialC canlehmann@mastodon.social

              @notbobbytables @stacksmashing Wait, is there a reason I should not be using ifconfig?

              mirabilos@toot.mirbsd.orgM This user is from outside of this forum
              mirabilos@toot.mirbsd.orgM This user is from outside of this forum
              mirabilos@toot.mirbsd.org
              wrote last edited by
              #16

              @notbobbytables @CanLehmann @stacksmashing on Linux, it only displays a subset of the IPs on an iface (on BSD it works). I guess they invented a NIH thing because they didn’t manage to fix that.

              1 Reply Last reply
              0
              • stacksmashing@infosec.exchangeS stacksmashing@infosec.exchange

                Simple age check for Linux:

                Just have the shell ask the user to check the host IP on first boot.

                If they type ifconfig they are old enough, if they type ip they deserve to be restricted from their computer πŸ˜‡

                zymurgic@mastodon.onlineZ This user is from outside of this forum
                zymurgic@mastodon.onlineZ This user is from outside of this forum
                zymurgic@mastodon.online
                wrote last edited by
                #17

                @stacksmashing if their host has more 3 active physical network interfaces, they clearly know what they're doing and know more than any dumb politician. If they only have IPv6 active then they know more than most ISPs.

                1 Reply Last reply
                0
                • n@norrebro.spaceN n@norrebro.space

                  @stacksmashing once you go `ip -br a` you never go back

                  jelte@mastodon.nlJ This user is from outside of this forum
                  jelte@mastodon.nlJ This user is from outside of this forum
                  jelte@mastodon.nl
                  wrote last edited by
                  #18

                  @n @stacksmashing i know that plenty of tools do it, but i'm old enough to consider multi-letter arguments with a single hyphen sacrilege

                  1 Reply Last reply
                  0
                  • stacksmashing@infosec.exchangeS stacksmashing@infosec.exchange

                    Simple age check for Linux:

                    Just have the shell ask the user to check the host IP on first boot.

                    If they type ifconfig they are old enough, if they type ip they deserve to be restricted from their computer πŸ˜‡

                    alarig@hostux.socialA This user is from outside of this forum
                    alarig@hostux.socialA This user is from outside of this forum
                    alarig@hostux.social
                    wrote last edited by
                    #19

                    @stacksmashing It’s the other way around, `ifconfig` relies on deprecated APIs since 10+ years and is unreliable (as well as having one of the worst UX).

                    1 Reply Last reply
                    0
                    • stacksmashing@infosec.exchangeS stacksmashing@infosec.exchange

                      Simple age check for Linux:

                      Just have the shell ask the user to check the host IP on first boot.

                      If they type ifconfig they are old enough, if they type ip they deserve to be restricted from their computer πŸ˜‡

                      g33katwork@infosec.exchangeG This user is from outside of this forum
                      g33katwork@infosec.exchangeG This user is from outside of this forum
                      g33katwork@infosec.exchange
                      wrote last edited by
                      #20

                      @stacksmashing Alternatively ask the user to enter a syntactically correct perl statement. Bonus points for just ;

                      stacksmashing@infosec.exchangeS 1 Reply Last reply
                      0
                      • g33katwork@infosec.exchangeG g33katwork@infosec.exchange

                        @stacksmashing Alternatively ask the user to enter a syntactically correct perl statement. Bonus points for just ;

                        stacksmashing@infosec.exchangeS This user is from outside of this forum
                        stacksmashing@infosec.exchangeS This user is from outside of this forum
                        stacksmashing@infosec.exchange
                        wrote last edited by
                        #21

                        @G33KatWork typing Perl gets you a 20% discount on your next colonoscopy

                        1 Reply Last reply
                        1
                        0
                        • R relay@relay.infosec.exchange shared this topic
                        Reply
                        • Reply as topic
                        Log in to reply
                        • Oldest to Newest
                        • Newest to Oldest
                        • Most Votes


                        • Login

                        • Login or register to search.
                        • First post
                          Last post
                        0
                        • Categories
                        • Recent
                        • Tags
                        • Popular
                        • World
                        • Users
                        • Groups