this post was submitted on 10 Apr 2024
26 points (96.4% liked)

Security

522 readers
6 users here now

A community for discussion about cybersecurity, hacking, cybersecurity news, exploits, bounties etc.

Rules :

  1. All instance-wide rules apply.
  2. Keep it totally legal.
  3. Remember the human, be civil.
  4. Be helpful, don't be rude.

Icon base by Delapouite under CC BY 3.0 with modifications to add a gradient

founded 1 year ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
[–] [email protected] 8 points 7 months ago (1 children)

CreateProcess spawns cmd.exe even when that isn't asked? I find that... a little insane.

Anti Commercial AI thingyCC BY-NC-SA 4.0

[–] [email protected] 5 points 7 months ago (1 children)

Seems like an ancient hack to allow bat files to be run via that function.

I expect windows is full of stuff like that.

[–] [email protected] 3 points 7 months ago (1 children)

Yeah, backwards compatibility is good when it isn't a security issue.

Anti Commercial AI thingyCC BY-NC-SA 4.0

Inserted with a keystroke running this script on linux with X11

#!/usr/bin/env nix-shell
#!nix-shell -i bash --packages xautomation xclip

sleep 0.2
(echo '
spoiler Anti Commercial AI thingy [CC BY-NC-SA 4.0](https://creativecommons.org/licenses/by-nc-sa/4.0/) Inserted with a keystroke running this script on linux with X11 ```bash' cat "$0" echo '``` :::') | xclip -selection clipboard xte "keydown Control_L" "key V" "keyup Control_L"

:::

[–] [email protected] 4 points 7 months ago* (last edited 7 months ago) (1 children)

I can barely live with that licence thingy, but don't paste that tutorial into your comment ffs.

[–] [email protected] -3 points 7 months ago* (last edited 7 months ago) (1 children)

I've gotten the question often enough about why and how. You don't have to open it 🤷

Anti Commercial AI thingyCC BY-NC-SA 4.0

Inserted with a keystroke running this script on linux with X11

#!/usr/bin/env nix-shell
#!nix-shell -i bash --packages xautomation xclip

sleep 0.2
(echo '
spoiler Anti Commercial AI thingy [CC BY-NC-SA 4.0](https://creativecommons.org/licenses/by-nc-sa/4.0/) Inserted with a keystroke running this script on linux with X11 ```bash' cat "$0" echo '``` :::') | xclip -selection clipboard xte "keydown Control_L" "key V" "keyup Control_L"

:::

[–] [email protected] 3 points 7 months ago (1 children)

Seems like my client doesn't show it as a drop-down I thought it was like the reddit spoiler that where the same size but blacked out. Sorry.

[–] [email protected] 1 points 7 months ago

Bad client! Bad! *wags finger*