asklemmy

This magazine is from a federated server and may be incomplete. Browse more on the original instance.

Granixo, in Posting: Hit and runs
@Granixo@feddit.cl avatar

My favorite Simpsons game 🎮

Granixo, in What exercises can I do to strengthen my willpower?
@Granixo@feddit.cl avatar

Watch all of the Rocky movies 🥊

LDRMS, in What are these comments on lemmy posts?

Click on one of the links and find out. Don’t forget to let us all know what happened. /s🤣🤣

Faceman2K23,
@Faceman2K23@discuss.tchncs.de avatar

just a website with the usual bullshit rambings of anti-ukraine conspiracists.

tias,

And now it has your session cookie

Faceman2K23,
@Faceman2K23@discuss.tchncs.de avatar

Which is why I always check dodgy links in a non logged in browser in an isolated vm.

tarjeezy,

Good luck, I’m behind 7 proxies

9up999, in What are some interesting accounts to follow on Mastodon?

Tokyo camera club

BurnedDonutHole,

Thank you.

pavnilschanda, in What exercises can I do to strengthen my willpower?
@pavnilschanda@lemmy.world avatar
emptyother, in What are some interesting accounts to follow on Mastodon?
@emptyother@lemmy.world avatar

If you’re a Star Trek fan, @JeriLRyan and @georgetakei is there.

If you’re a dev, maybe @JenMsft or @codinghorror or @SwiftOnSecurity or @shanselman ? @jonskeet is also there but not very active.

If you’re a retro gamer, @grumpygamer is pretty active.

Literature fan? Im a fan of @MicroSFF . And @neilhimself do sometimes reply there.

BurnedDonutHole,

Thank you.

SHamblingSHapes, in Posting: Hit and runs

Sometimes the top level comments are boring takes not worth replying to. Like this comment. Whatcha going to do? Argue that no, there’s always some comment worth replying to? Agree with me? Boring.

nekat_emanresu,

I’m gonna reply, that’s what I’m gonna do. What are you gonna do about it? I’ve added almost nothing to respond to.

Railison, in Posting: Hit and runs

Sometimes it’s better to reply in comments to address specific questions, other times better to post an ETA. Sometimes, I just wanted to provoke discussion, or I’m about to do something that’ll leave me away for a couple of hours.

nekat_emanresu,

On principle, i’m replying to your comment as its first :P Edit: i came in here to do this, but i woulda responded either way lol

Im more talking after an hour, not a single comment or update from OP.

There definitely are good reasons to take time responding or not comment for ages etc of course. Some comments of course don’t need a response.

can, in What are the best fediverse alternatives to youtube?

Um, if you’re in high school please don’t make nsfw videos.

debounced,
@debounced@kbin.run avatar

the fbi hates this one simple trick

Nemo, in What should I look for when I’m choosing an instance?

Do you plan to create communities? If so, choose the instance where the communities best fit the theme of that instance.

morganth, in What butterfly effect have you personally witnessed?

I was in line to buy tickets to a concert. The tickets didn’t cost much, but I was poor, so as I was in line I was wavering back and forth between the cheapest tickets and the second cheapest. When I got to the front I was on the side of the cheapest.

Another person who bought the cheapest was an incredibly cute girl who I met there and ended up dating for several months, and that relationship, after it ended, gave me the confidence to make a move on another girl who I had long been attracted to, and our relationship made me choose the particular job that I chose because it let me move near where she lived.

So if I had been a couple of spaces further back in line, I probably wouldn’t have lived in that state for two years. True story.

OrkneyKomodo, in What should I look for when I’m choosing an instance?
@OrkneyKomodo@lemmy.sdf.org avatar

I went on the “recommended instances” section here: github.com/maltfield/awesome-lemmy-instances

kersploosh,
@kersploosh@sh.itjust.works avatar

Funny to see VLemmy on that list considering it abruptly ceased to exist a few days ago.

OrkneyKomodo,
@OrkneyKomodo@lemmy.sdf.org avatar

I think a few things on the are a bit out of date. I missed VLemmy going dark.

can,

This is why paying attention to administration views and local laws of an instance are important.

Having a no defederation free for all was not a good idea.

sunbunman, in Liftoff. Lemmy app. Do you like the way it works now?

Definitely my favourite one so far! Though I will still be experimenting with newer ones when they come out.

A couple features I’d like to see implemented:

  • Setting a base instance/account and having links open through that instance. I understand this will put increased pressure on the base instance but from a user perspective this is a massive qol update.
  • Finding a way to upload videos or converting small videos to gifs before uploading without having to go into a third party source or implementing third party connectivity for this purpose. This is probably out of scope for what the app is trying to achieve, but would be a great addition for content creation on Lemmy in general.
Tartas1995, in What are these comments on lemmy posts?

Hey, I can tell you want it does. While I don’t know if they try to download something too (while it really doesn’t look like it), they are trying to steal your browser cookies.

I haven’t removed the obfuscation yet as I am literally in bed but I can tell the general idea of the code.

Onload is a html attribute. Html attribute tell your browser more about what the browser should be doing. So basically onload is an instruction to your browser. By posting those comments, they try to run something called cross site scripting. Basically they want to run their code in your browser without them being the website owner. So now we know the intend of the post, let’s look into the details.

Onload is an attribute that tells the browser to do something once it is fully loaded.

Fetch is a function that allows your browser to request additional information from the server. Endless scrolling would be done with that.

String.fromcharcode is just there to hide a little bit. Think of it as a fancy way to say a word. they are saying a website to connect to there.

Then document.cookie are your cookies for that website.

The next thing is probably your username or something.

So what does that mean? They try to make your browser execute their code when the website is onloaded. The code sends your cookies and your username(?) To a server. They probably save the username and cookie and try to steal the account later.

You seeing the code is good evidence that your browser hasn’t execute the code as the browser didn’t understand it as code to be executed but code to display. So you are probably safe and don’t need to worry

Edit: ups sorry for not answering the question. I don’t know which client they are targeting. They might or might not be targeting wefwef. But they target you, the user, too. And it is probably for Webbrowser users, so chances are wefwef or other web clients.

Edit edit: some people pointed out that it is not the username but basically the admin status of the account.

Icarus,

so does this run automatically ? without the user doing anything ?

Tartas1995,

If it would work, which it seems like it doesn’t. Yes, it is intended to be automatical.

Xylight,
@Xylight@lemmy.xylight.dev avatar

Doesn’t Lemmy use HttpOnly cookies? This would fix any js based exploit.

Dirk,
@Dirk@lemmy.ml avatar

Also, strict CSP would prevent it entirely.

Xylight,
@Xylight@lemmy.xylight.dev avatar

out of curiosity, what CSP options would fix this?

Dirk,
@Dirk@lemmy.ml avatar

To prevent execution of scripts not referenced with the correct nonce:

<pre style="background-color:#ffffff;">
<span style="color:#323232;">script-src 'self' 'nonce-$RANDOM'
</span>

To make it super strict, this set could be used:

<pre style="background-color:#ffffff;">
<span style="color:#323232;">default-src 'self';
</span><span style="color:#323232;">script-src 'nonce-$RANDOM'
</span><span style="color:#323232;">object-src 'none';
</span><span style="color:#323232;">base-uri 'none';
</span><span style="color:#323232;">form-action 'none';
</span><span style="color:#323232;">frame-ancestors 'none';
</span><span style="color:#323232;">frame-src 'none';
</span><span style="color:#323232;">require-trusted-types-for 'script'
</span>

Especially the last one might cause the most work, because the “modern web development environment” simply cannot provide this. Also: form-action ‘none’; should be validated. It should be set to self if forms are actually used to send data to the server and not handled by Javascript.

The MDN has a good overview: developer.mozilla.org/…/Content-Security-Policy

Gellis12,

The encoded strings are https://zelensky(dot)zip/save/ and navAdmin

razieltakato, in How often do you brush your teeth?

Twice a day. One when I get up and one before going to bed. I floss occasionally.

  • All
  • Subscribed
  • Moderated
  • Favorites
  • asklemmy@lemmy.ml
  • localhost
  • All magazines
  • Loading…
    Loading the web debug toolbar…
    Attempt #