Is it possible to spoof evil.js as an image to thwart hotlink? - hotlinking

I doubt this is possible, but I am curious if anyone knows a way to spoof/inject evil.js library instead of an image to sites that attempt to hotlink. I tried a couple things including making a test.png.js.php to send Content-Type: image/png alongside, some stuff with data:image/png, but nogo either way. Perhaps there is some kind of htaccess or DNS mask that could do this? Or perhaps something that could better spoof MIME?
Again, I highly doubt anything can do this, and this is a quite stupid question in all regards of how browsers work, but figured I would ask :) Looking forward to pwning some scrapers. Thanks for your time!

Related

What does it mean to "serve traffic" in SQL?

I'm a translator and reviewer, also passionate and learning about IT, and I'd like to know what the verb "serve" means in SQL, specifically "to serve traffic". This verb is kind of tricky for me and I can think of two opposite definitions: to make traffic available (like "offer") and to "respond" to traffic requests (as in serve a request, maybe?). If my assumptions are total nonsense, please let me know. If someone could clarify this, It would be much appreciated. Thanks in advance.

Read, Edit and resend or "Replay" PCAP on Scapy

Myself and others have been searching forever for a good example on this subject.
Can someone please post some code from start to finish on editing the src/dst IP and Port and resending the load of a UDP PCAP file to the correct destination (over the internet, not LAN) on Scapy?. I really want to know what I'm doing wrong and nobody has given me any answers yet unfortunately.
From what I have seen their are a lot of people looking for what I am describing but their isn't a whole lot of information to go off of for n00bs like me. I would greatly appreciate it!
Seriously, I have been banging my head against a wall for several weeks trying to figure this out and I feel like I am really close... But I'm missing something. Having some code to compare mine to would really help me dissect it and make it stick in my head.
Nothing nefarious being done here, I am simply trying to do some cool stuff with my multiplayer game server.
Thank you!

Is it possible to add youtube/social media links to code comments?

I think it would help explain the code better, but what do I know, I am just a newbie, an alternative would be little audio notes as code comments.
Is this allowed, possible, desirable, or I am just saying incoherent stuff here?
There would be a lot of practical issues that would make audio notes embedded in source code problematic.
However...
You may be someone who thinks best when speaking to another person, and not someone who finds it natural to articulate their thoughts when writing. If that is the case, find out which text-to-speech converters you like best, and use them to dictate your thoughts. Then embed the text into the program source as comments.

"CAPTCHA" - making a version that is easier

I am setting up a web site and going to use "captcha" to prevent robots.
I get rather annoyed with some of the systems where you have to try and try again as the words are unreadable.
Therefore I am just going to use these letters/numbers
acdefhkmnpqrstwxyz 234578
This is in the hope that it will avoid some confusion (e.g. 1 and l).
Is there any other things that I should consider?
easier for humans, easier for robots...
think about visually impaired people, they hate captcha even more
why reinventing the wheel?
To add on to Tomasz answer
reCaptcha is for a worthwhile cause, use it.

When deploying a blog, is it best to use a subdomain or a subfolder (SEO Benefits)?

I know this is a common question, and there are resources on the internet about this topic, but I wanted to here from this community everyone's thoughts on subdomain vs subfolder when deploying a blog (SEO Benefits).
Thanks.
I researched this once, and based on community feedback as well as weighing in the pros and cons, I'd say go for a folder, for more info:
http://www.v7n.com/forums/seo-forum/30267-folders-versus-subdomains.html
Both will work.
Not being an expert on this, I'd say both will do the same but I prefer a folder because, depending on the server/host you're using, a subdomain might take a while to be visible to everyone.
This is based on the fact one of the hosts I use taking 2 days to guarantee visibility of a subdomain.
I'm sorry but I don't know enough to explain why this happens.
Hope it helped :)
Cheers