Skip to content
MPGHThe Dark Arts
/
RegisterLog in
Forum
Community
What's NewLatest posts across the boardTrendingHottest threads right nowSubscribedThreads you follow
Discussion
GeneralIntroductionsEntertainmentDebate FortFlaming & Rage
Board
News & AnnouncementsMPGH TimesSuggestions & HelpGiveaways
More Sections
Art & Graphic DesignProgrammingHackingCryptocurrency
Hacks & Cheats
Games
ValorantCS2 / CS:GOCall of Duty / WarzoneFortniteApex LegendsEscape From Tarkov
+14 moreLeague of LegendsGTA VMinecraftRustROTMGBattlefieldTroveBattleOnCombat ArmsCrossFireBlackshotRuneScapeDayZDead by Daylight
Resources
Game Hacking TutorialsReverse EngineeringGeneral Game HackingAnti-CheatConsole Game Hacking
Tools
Game Hacking ToolsTrainers & CheatsHack/Release NewsNew
Submit a release →Share your cheat, tool, or config with the community.
AINEW
AI Tools
General & DiscussionPrompt EngineeringLLM JailbreaksHotAI Agents & AutomationLocal / Open Models
AI × Gaming
AI Aimbots & VisionML Anti-CheatGame Bots & Automation
Create
AI Coding / Vibe CodingAI Art & MediaAI Voice & TTS
The AI frontier →Where game hacking meets modern machine learning. Jump in.
Marketplace
Buy & Sell
SellingBuyingTradingUser Services
Trust & Safety
Middleman LoungeMarketplace TalkVouch Copy Profiles
Money
Cryptocurrency TalkCurrency ExchangeWork & Job Offers
Start selling →List accounts, services, and goods. Use the middleman to trade safe.
MPGH The Dark Arts

A community for offensive security research, reverse engineering, and AI.

Community

ForumMarketplaceSearch

Account

RegisterLog in

Legal

Privacy PolicyForum RulesHelp & FAQ
© 2026 MPGH · All rights reserved.Built by the community, for the community. For educational purposes onlyContent is shared for security research and education — we don't condone illegal use. You're responsible for complying with applicable laws. Use at your own risk.
Home › Forum › Programming › Other Programming › PHP Programming › execute js within image file generator

execute js within image file generator

Posts 1–4 of 4 · Page 1 of 1
q q q
q q q
execute js within image file generator
Im looking for something along the lines of this
https:// hiddencodes . word press . com /2014/10/29/hide-javascript-inside-jpeg-file/

i wanted it so it will apply on all the images on the server, not directly, if i open the img within filezilla or smth it will be normal without the script injected in it,
i am 99.9% sure this is achiveable within php and/or htaccess
its ok if the file path within the adress bar will be example . com /script.php?img=123.png but the end result when opening example . com/script.php?img=123.png by that i mean it should show exactly like it shows in example . com/123.png it should be threated like a actual png not a html ish file with <img> tags

What is this for you might ask?
well some people find it funny to sometimes steal my shit memes and reupload it to some other website so ill just put in a crypto miner idc, if you want to say that mining wont work, ¯\_(ツ)_/¯ i want this for personal expiriance and knowledge aswell so in case i think of something neat i could possibly use this with i would use that

and yes ive tried to look online, i have tried looking for the following methods
Include within htaccess
inject java code in img
i found this this might be usefull for you
https:// ****** . com /jklmnn/imagejs
and some others idk wich

Thanks anyway
#1 · edited 8y ago · 8y ago
Silent
[MPGH]Silent
What you're requesting makes no sense at all...
#2 · 8y ago
q q q
q q q
Quote Originally Posted by Gab's Cum Rag View Post
What you're requesting makes no sense at all...
yeah skip that, i managed to achive what i needed, not really how i wanted it but it does the job
#3 · 8y ago
Hell_Demon
Hell_Demon
Just watermark your images..
#4 · 8y ago
Posts 1–4 of 4 · Page 1 of 1

Post a Reply

Similar Threads

  • Camo Skins From M417 Combat + PSD image fileBy hmsl in Combat Arms Mods & Rez Modding
    12Last post 16y ago
  • [SOLVED] "Image File Corrupt"By TrackingDown in Call of Duty Modern Warfare 2 Help
    6Last post 16y ago
  • Getting Current Path of Executable + Adding On a FileBy CoderNever in C++/C Programming
    9Last post 16y ago
  • Image File corruptBy fwdoggy in Call of Duty Modern Warfare 2 Help
    9Last post 16y ago
  • [SOLVED] image code generator ?By allie966 in CrossFire Help
    7Last post 16y ago

Tags for this Thread

#html#javascript#php#xss