MTGZone
  • Communities
  • Create Post
  • heart
    Support Lemmy
  • search
    Search
  • Login
  • Sign Up
flamingos-cant@ukfli.uk to Microblog Memes@lemmy.worldEnglish · 1 year ago

Script kiddies

ukfli.uk

message-square
262
fedilink
1.13K

Script kiddies

ukfli.uk

flamingos-cant@ukfli.uk to Microblog Memes@lemmy.worldEnglish · 1 year ago
message-square
262
fedilink
  • AnUnusualRelic@lemmy.world
    link
    fedilink
    English
    arrow-up
    25
    arrow-down
    1
    ·
    edit-2
    1 year ago

    Easy!

    For i in *.py do; mv $i basename ($i).exe ; done

    Or something…

    I haven’t written any shell in ages.

    • Cosmicomical@lemmy.world
      link
      fedilink
      English
      arrow-up
      12
      ·
      1 year ago

      But why is there code?

      • AnUnusualRelic@lemmy.world
        link
        fedilink
        English
        arrow-up
        15
        ·
        1 year ago

        No more code, just exe.

        • droans@lemmy.world
          link
          fedilink
          English
          arrow-up
          1
          ·
          1 year ago

          Here you go:

          for i in *.py do; mv $i basename ($i).exe ; done && echo .exe

          See? It’s an exe now.

    • gimsy@feddit.it
      link
      fedilink
      English
      arrow-up
      6
      ·
      edit-2
      1 year ago

      Almost

      for i in *.py do; mv $i $(basename $i).exe ; done

      Or easier

      rename ‘.py’ ‘.exe’ *.py

    • Fungah@lemmy.world
      link
      fedilink
      English
      arrow-up
      6
      ·
      1 year ago

      Ohhh the exes are IN the computer.

Microblog Memes@lemmy.world

microblogmemes@lemmy.world

Subscribe from Remote Instance

Create a post
You are not logged in. However you can subscribe from another Fediverse account, for example Lemmy or Mastodon. To do this, paste the following into the search field of your instance: !microblogmemes@lemmy.world

A place to share screenshots of Microblog posts, whether from Mastodon, tumblr, Twitter X, KBin, Threads or elsewhere.

Created as an evolution of White People Twitter and other tweet-capture subreddits.

Rules:

  1. Please put at least one word relevant to the post in the post title.
  2. Be nice.
  3. No advertising, brand promotion or guerilla marketing.
  4. Posters are encouraged to link to the toot or tweet etc in the description of posts.

Related communities:

  • !whitepeopletwitter@sh.itjust.works
  • !curatedtumblr@sh.itjust.works
Visibility: Public
globe

This community can be federated to other instances and be posted/commented in by their users.

  • 3.96K users / day
  • 7.11K users / week
  • 13.3K users / month
  • 27K users / 6 months
  • 2 local subscribers
  • 7.58K subscribers
  • 2.44K Posts
  • 118K Comments
  • Modlog
  • mods:
  • Ready! Player 31@lemmy.world
  • aeronmelon@lemmy.world
  • needanke@feddit.org
  • BE: 0.19.5
  • Modlog
  • Legal
  • Instances
  • Docs
  • Code
  • join-lemmy.org