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 😇

    hisold@toot.ioH This user is from outside of this forum
    hisold@toot.ioH This user is from outside of this forum
    hisold@toot.io
    wrote last edited by
    #4

    @stacksmashing What if they type ipconfig /all ? 💀

    stacksmashing@infosec.exchangeS kaaswe@swecyb.comK 2 Replies Last reply
    0
    • notbobbytables@infosec.exchangeN notbobbytables@infosec.exchange

      @stacksmashing Years of retraining muscle memory, and this is what I get in return? 😅

      canlehmann@mastodon.socialC This user is from outside of this forum
      canlehmann@mastodon.socialC This user is from outside of this forum
      canlehmann@mastodon.social
      wrote last edited by
      #5

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

      notbobbytables@infosec.exchangeN mirabilos@toot.mirbsd.orgM 2 Replies Last reply
      0
      • hisold@toot.ioH hisold@toot.io

        @stacksmashing What if they type ipconfig /all ? 💀

        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
        #6

        @hisold you get sandboxed into mspaint.exe

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

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

          notbobbytables@infosec.exchangeN This user is from outside of this forum
          notbobbytables@infosec.exchangeN This user is from outside of this forum
          notbobbytables@infosec.exchange
          wrote last edited by
          #7

          @CanLehmann @stacksmashing Good question. I mean, it has been deprecated for more than 10 years now, without any real consequences. 🤷‍♂️

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

            @CanLehmann @stacksmashing Good question. I mean, it has been deprecated for more than 10 years now, without any real consequences. 🤷‍♂️

            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
            #8

            @notbobbytables @CanLehmann deprecated but not forgotten 🤘

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

              @notbobbytables @CanLehmann deprecated but not forgotten 🤘

              notbobbytables@infosec.exchangeN This user is from outside of this forum
              notbobbytables@infosec.exchangeN This user is from outside of this forum
              notbobbytables@infosec.exchange
              wrote last edited by
              #9

              @stacksmashing @CanLehmann 🤣

              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 😇

                n@norrebro.spaceN This user is from outside of this forum
                n@norrebro.spaceN This user is from outside of this forum
                n@norrebro.space
                wrote last edited by
                #10

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

                jelte@mastodon.nlJ 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 😇

                  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