joshcodes

joined 2 years ago
[–] joshcodes 1 points 2 days ago (1 children)

I'm referencing this:

Keely told GPT-4 to generate a Python script that compared – diff'ed, basically – the vulnerable and patched portions of code in the vulnerable Erlang/OPT SSH server.

"Without the diff of the patch, GPT would not have come close to being able to write a working proof-of-concept for it," Keely told The Register.

It wrote a fuzzer before it was told to compare the diff and extrapolate the answer, implying it didn't know how to get to a solution either.

"So if you give it the neighbourhood of the building with the open door and a photo of the doorway that's open, then drive it to the neighbourhood when it tries to go to the mall (it's seen a lot of open doors there), it can trip and fall right before walking through the door."

[–] joshcodes 5 points 2 days ago (3 children)

The vulnerability is the scary part, not the exploit code. It's like someone saying they can walk through an open door if they're told where it is.

[–] joshcodes 2 points 4 days ago (2 children)

Parma sounds like a phrase uttered by the absolutely deranged. Even the children here know it's parmy

[–] joshcodes 6 points 1 week ago (1 children)

Listen. Strange children wading in ponds discovering swords is no basis for a system of government. Supreme executive power derives from a mandate from the masses, not from some farcical aquatic ceremony.

[–] joshcodes 3 points 1 week ago

That's super informative, thank you.

[–] joshcodes 2 points 1 week ago

I lost the game

[–] joshcodes 24 points 2 weeks ago (2 children)

Steve Hughes did a pretty good bit on this - "Go play with your girly tits you Gaylord, I'm going to fuck a man."

[–] joshcodes 7 points 2 weeks ago (2 children)

Counter point, set the 'swappiness' lower than the default 60. I've set mine to 30 and the system boots a lot faster. You could research and consider 10-20.

[–] joshcodes 14 points 2 weeks ago (3 children)

I consider leaving cyber and becoming a barista on a daily basis

[–] joshcodes 4 points 2 weeks ago (3 children)

I feel the same way, I would lose self respect purchasing a ticket... idk it feels like someone took an important part of my childhood and decided to ruin it.

[–] joshcodes 5 points 2 weeks ago

100% agree, that is a "totally for fun" exercise

[–] joshcodes 13 points 2 weeks ago (2 children)

For added funs run an SSH tarpit to fuck with the attackers, something like endlessh.

52
the bot strikes again (programming.dev)
submitted 1 month ago by joshcodes to c/meta
 

Transcription: picture is a screenshot of a user inbox page with a new message containing a photo of a woman with dark hair. The message reads "Hi I am Nicole but you can call me the Fediverse chick". There's more text but this is very obviously a bot attempting to get people to join a particular server.

On a side note: I can't delete this message as I get an error about dms not being available. I've blocked the bot already. Does programming.dev support dm's?

31
submitted 3 months ago* (last edited 3 months ago) by joshcodes to c/[email protected]
 

I dont post often but I struggled to find a solution to my issue so I am trying to fix that very problem by adding a resource. Hope this helps someone.

I have moved my last windows pc to Linux Mint last weekend (I had some issues writing to my other USBs and had it lying around, technically I set out to try Fedora Silverblue but that may come later down the road now). I keep all my games and important files on secondary hdds and ssds in my machine as I've had data loss many times before from moving machines go Linux.

All went well, installation worked, but when I installed Steam, nothing showed up in the 'storage' page of the settings menu. "Hmm, it's probably a permission issue" I thought, if it cant see the drives it's not allowed to. Command used to debug this was:

ls -ld /media/gamedrive1 /media/gamedrive2

which showed root had read, write and execute access but I had read access.

So next I had to change /etc/fstab and make sure my drives were mounted correctly (using ntfs-3g driver instead of ntfs on one drive, and adding my users name as the owner and group owner).

This took me a minute to get right because it relies on the uuid of the drive, not the /dev/sdX identifier (I've been informed you can also use the /dev/disks/by-id/. It was super easy to do this through the gnome-disks utility, so I didn't need to keep editing the fstab file with nano and could see partition names.

I then I had drives visible in the 'Storage' settings in Steam (I did also switch from the downloaded deb file from steams website to the apt installation but I dont think I needed to).

I try to run a game, forget proton exists, retry to run the game with compatibility mode on, then get a 'Disk Write Error' for my /media/JoshCodes/gamedrive1/SteamLibrary/steamapps/downloading/random/file.

Super weird I think, but it's probably a cache issue, some dumb file from my windows machine that didn't get permission-ed properly for some reason - idk it was 10pm. I clear my cache, reset steam entirely, manually remove the files, nothing works. On a fluke, a troubleshooting step led me to a solution by way of it not working: I tried to create a symlink between the downloads folder on the main drive and the drive I had the game library installed on. The recommendation was to use:

ls -s /opt/steam/downloading /path/to/steamlibrary/downloading

Can't remember the error but it was something like "symlinks are not able to be created as they are not compatible with this file system". Oh dammit. This drive is on a filesystem that is incompatible (exFAT) with my other file systems for some reason. Someone smarter than me clarified that Steam and video games in general rely on symlinks, which are not supported on exFAT file systems, but will work on Windows for reasons I won't get in to.

Unfortunately I did have to move everything from my exFAT drive to a 3rd drive, reformat (just used ext4 as its native linux) and put all my files back on. At this point it was like 1am but I could open Civ V and Rocket League! Huzzah, crashed and went to bed. That's the first time I've really stuck with a problem that I wasn't familiar with, learned a shitload about mounting drives and just thought it through. A little help from the internet at the end but good outcome.

I hope that helps someone else!

Edit: Added commands and fixed formatting. Changed title as it was not correct as pointed out (Sorry, that's the first thing I typed and forgot to check that before posting). Added some info stolen from the comments on why symlinks don't work.

17
Anyone hosting OpenCTI (self.selfhosted)
 

I'm about to start hosting an OpenCTI instance for work and was looking for advice on pretty much everything. I'm new to self hosting and was wondering if anyone had any advice or helpful guides (storage space, config tips, etc).

I'm looking to set up an OCTI server as a docker container behind nginx. I'd love to practice at home so this is sort of relevant to the community. Have you done this, what did you learn, do you have any things I should watch out for?

 

So I've been running Windows on my gaming system and Linux on my laptop for Uni for a while. I chose this to discourage working instead of relaxing, or gaming instead of working. However, I am finding that I often get the opportunity to work from home and I find it easier to just use my laptop on the go (I have a dual monitor setup + kvm switch so its a little annoying to have to come home and run 3 cables just for some extra screen realestate).

I want them to run the same OS so I can use the same tools and workflow. I use Ubuntu 23.04 on my laptop, W11 on my PC. I have nvidia GPU's in both (1660 Super Desktop and 3050 Laptop), so installing and maintaining drivers would ideally be easy. I would use Ubuntu but I plan to move away from it since they're moving away from .debs. Any recommendations? I am looking for stability, but something I can game on. I've never had a linux gaming pc so I don't know how much that changes things. I don't want to do much tinkering, I am more of a set an forget type.

I generally prefer Gnome, XFCE, KDE, Cinnamon, Mate in that order. I looked it up and a lot of the games I play are Proton DB Gold or up. The only game with an anticheat that I play is the MCC and I'll just disable the anticheat if its an issue.

248
Car no do that Rule (programming.dev)
 
view more: next ›