MenigPyle

joined 7 months ago
[–] MenigPyle@feddit.dk 6 points 6 months ago

Microsoft owns part of LinkedIn.

Vertical integration.

Just be haply you don't have a Facebook button. Yet.

[–] MenigPyle@feddit.dk 1 points 6 months ago

Username checks out.

[–] MenigPyle@feddit.dk 1 points 6 months ago (1 children)

I usually have some specific goals I'd like to add, which is why this would be the barebones scaffolding.

That aside, I don't like the output from nmap 😜

[–] MenigPyle@feddit.dk 1 points 6 months ago (4 children)

Honestly I would if I could.

The reason I redo it is because I change work places... And it's one of those things I could actually bring with me no problem because it doesn't contain confidential data, but also since it's so trivial, I don't think of it until I'm on to the next place.

And I haven't made a new one since last change 😂

What I'd probably do today is to list out the constraints and what I'd like to have work, then ask ChatGPT or Bing AI to make it for me, e.g.;


On a system running Red Hat Enterprise Linux 8.8 I should like a simple ping tool. It should be written using best practices, contain a shebang, follow all good guidelines for scripting and for the tools used. It should print out a help section with example if called without arguments. If no flags are provided, it could be hostnames or an IPs. Alternative, it can accept an argument of a CIDR range following a switch, '--range 10.2.3.4/30'. When it has verified the input, the following tests should be made for the IP, hostname or IPs, per IP involved;
  • If IP, PTR lookup
  • if hostname(s), look up A and AAAA records
  • It should try opening all the most common ports using netcat, telnet, nmap or similar
  • It should pretty print a concise and user friendly report of all outcomes

The script should be error free, print out helpful error messages when something occurs and gracefully degrade using 'try/catch' or similar. As far as possible, it should use different functions internally to ensure modualirty and maintainability.


That would give you a Python or Bash script most likely. It's going to give you an 80% done script. Probably also experiment with feeding it a type of output you'd prefer. Hope that helps!

[–] MenigPyle@feddit.dk 7 points 6 months ago (6 children)

Every few years I reinvent a script for this lol

[–] MenigPyle@feddit.dk 4 points 6 months ago (1 children)

With my mouth ajar?

[–] MenigPyle@feddit.dk 13 points 6 months ago

I wrote to ask him but I never heard back. To be fair he's probably quite stressed at the moment.

[–] MenigPyle@feddit.dk -1 points 6 months ago

But none of these for profit companies that are dependent upon xz have funneled any of their gains in there?

[–] MenigPyle@feddit.dk 1 points 6 months ago

Thanks! Does it hide the prompt or set the settings?

[–] MenigPyle@feddit.dk 3 points 6 months ago* (last edited 6 months ago) (2 children)

You might also want Consent-O-Matic which sets your cookie prefs for most sites automatically.

[–] MenigPyle@feddit.dk 19 points 6 months ago (1 children)

I almost forget it isn't included in firefox by default.

It almost is; the scaffolding is there but the addon is needed to turn the feature on.

view more: next ›