• SprayURL - Custom Sprays from the Internet!
    48 replies, posted
[img]https://dl.dropboxusercontent.com/u/6696045/aboutimgt.png[/img] SprayURL is a easy to use addon. It allows players to create a spray using an image from the internet, whitout having to create the spray. SprayURL allows requires a [b]SERVER[/b] to be run on. Its not a client side addon. [img]https://dl.dropboxusercontent.com/u/6696045/howto.png[/img] Its quite simple! Just bind a key to [b]sprayurl[/b] Example : [b] bind "p" "sprayurl" [/b] To set a different texture : - Press C (context menu) - Click on SprayURL Menu - Grab a texture from the internet (for example :[url]http://fc08.deviantart.net/fs71/f/2014/100/3/8/b1_in_hd_by_tomajko-d7dz8iy.png[/url]) place it on the URL box and click [b]Set[/b] And your done! Your texture should work just fine. You can also block spray's keywords by going to the banned keywords list [img]http://puu.sh/e1RJZ/696f201ccb.jpg[/img] Website Whitelist (Until i find a way to fix exploits) - puu.sh - dropbox (make sure its on public folder.) - imgur - steam - deviantart - 9gag - dorkly - tumblr - photobucket [img]https://dl.dropboxusercontent.com/u/6696045/cmdmatt.png[/img] [b] ===== CLIENT SIDE ===== [/b] [code]sprayurl_enabled 1/0 (Enables/Disables SprayURL) sprayurl_clearchache (Clears ALL the saved materials) sprayurl_maxretry <number> (default 10) (Max retries to download the texture) sprayurl_texture "texture" (note it requires "") (The Spray Texture) sprayurl_maxloadtime <number> (Max spray load time)[/code] [b] ===== SERVER SIDE ===== [/b] [code]sprayurl_plyCooldown <number> (Cooldown between sprays.) (Only Applies to Players, not Admins) sprayurl_adminonly <1 / 0> (By Default : 0) - Only admins can sprayurl. sprayurl_whitelist <1 / 0> (By Default : 0) - Enables website whitelist.[/code] [img]https://dl.dropboxusercontent.com/u/6696045/issuet.png[/img] [code]Currently its not possible to make 1 spray per player (like normal sprays) Some Textures might not download / show (sprayurl_clearchache) will fix that problem, then just ask for him to spray again. This is currently in BETA. There might be other issues.[/code] [img]https://dl.dropboxusercontent.com/u/6696045/spraydl.png[/img] [url]http://steamcommunity.com/sharedfiles/filedetails/?id=367984645[/url] (Workshop) [url]https://github.com/edunad/sprayurl[/url] (Git) [img]https://dl.dropboxusercontent.com/u/6696045/changelog.png[/img] [code] Fixed Exploits Fixed Sizes again [/code] =============================== Screenies : [t]http://cloud-4.steamusercontent.com/ugc/541887967046229072/E32B87A5612CD0A43435AD30EB9E51358B2ED943/[/t] [t]http://cloud-4.steamusercontent.com/ugc/541887967046203498/A379FAD900AF2B5D96CA801D539774AE90F9B56F/[/t] [t]http://cloud-4.steamusercontent.com/ugc/541887967055256968/2B3270280C24861B8BEC826C16092052A8E14D3C/[/t] [t]http://cloud-2.steampowered.com/ugc/541887967055510599/77A59625D0DD0149DC90F2C1091A7E5DB925514D/[/t]
This is going to be so fucking exploitable it's not even funny.
More meatspin!
Also how about using mesh rather than 3d2d?
[QUOTE=JoeSkylynx;46845080]This is going to be so fucking exploitable it's not even funny.[/QUOTE] How so :o? Currently working on a image limit, i already only allow some images formats, and im also planning on adding a website/image ban list
[QUOTE=failcake;46845795]How so :o? Currently working on a image limit, i already only allow some images formats, and im also planning on adding a website/image ban list[/QUOTE] porn
[QUOTE=failcake;46845795]How so :o? Currently working on a image limit, i already only allow some images formats, and im also planning on adding a website/image ban list[/QUOTE] You can bug/exploit image files, and it's just a clusterfuck beyond all comprehension.
[QUOTE=JoeSkylynx;46846000]You can bug/exploit image files, and it's just a clusterfuck beyond all comprehension.[/QUOTE] "It's exploitable because you can exploit it and reasons."
i have a dumb idea, but it would be nice for perhaps RP servers that only want certain things to be used, such as posters, etc. what if there was a convar that made it to where you could only use images from a certain URL to spray? if for example on a serious RP server there are faction logos that you can't place otherwise, it can still be abused to some extent that way but if there's only a certain set of usable images it's a lot easier to regulate, and that kind of abuse can be handled easier than spraying porn everywhere
Added websites whitelist and banned keywords. I also added a small tutorial on how to use sprayurl. [b]Current allowed websites :[/b] - Dropbox - 9Gag - puu.sh - Deviantart - Steam - Dorkly - Tumblr - Imgur
[QUOTE=failcake;46850593]Added websites whitelist and banned keywords. I also added a small tutorial on how to use sprayurl. [b]Current allowed websites :[/b] - Dropbox - 9Gag - puu.sh - Deviantart - Steam - Dorkly[/QUOTE] Imgur? Also it wise to use thumb tags for images over 800x600. [.t][./t] -- without the .
[QUOTE=Aide;46851044]Imgur? Also it wise to use thumb tags for images over 800x600. [.t][./t] -- without the .[/QUOTE] Fixed! Sorry, keep forgetting the [t]
I made spray art with this The :B1: gun [t]https://dl.dropboxusercontent.com/u/67402346/ShareX/2015/01/2015-01-03_18-27-58.png[/t]
Why isn't imgur allowed?
[QUOTE=The Commander;46853774]Why isn't imgur allowed?[/QUOTE] It is now, he hasn't updated the post yet.
[QUOTE=The Commander;46853774]Why isn't imgur allowed?[/QUOTE] Imgur is allowed, i just forgot to mention it :< Adding command sprayurl <link> for fast spraying :), will release it later
New Update! :D If image is not found, it will display a 404image. Added sprayurl_enablewhitelist to server Added quickspray by doing sprayurl "<link>" Added sprayurl_enablewhitelist to enable / disable whitelist, its now disabled by default! Yay freedom Added sprayurl_weblist to check what websites are allowed if whitelist is enabled.
Word of advice, you might want to use a data URI image instead of hosting the default HTML images on your Dropbox, else you might get your account traffic locked down. :v:
Welp ten minutes of fuckery and I already exploited it to run html pages off of dropbox.... You might want to remove dropbox as an option. As of right now I can pretty much ban a whole server by loading a page that makes the client spam rcon.
[QUOTE=Broly;46875289]Welp ten minutes of fuckery and I already exploited it to run html pages off of dropbox.... You might want to remove dropbox as an option. As of right now I can pretty much ban a whole server by loading a page that makes the client spam rcon.[/QUOTE] Doubt it, but if you managed to bypass the extension check, could you share the code so i can fix it then?
[url]http://host/file.html?.png[/url] [url]http://anyhost/file.html?media.tumblr.png[/url]
It only shows half the image on my server? [URL="http://steamcommunity.com/sharedfiles/filedetails/?id=371237924"]http://steamcommunity.com/sharedfiles/filedetails/?id=371237924[/URL]
[QUOTE=ConnorMcF;46878682]It only shows half the image on my server? [URL="http://steamcommunity.com/sharedfiles/filedetails/?id=371237924"]http://steamcommunity.com/sharedfiles/filedetails/?id=371237924[/URL][/QUOTE] I updated the addon a while ago, are you sure the server is updated? Also fixing the exploid
Fixed exploits, i hope!
[url]http://anyhost/media.tumblr/file.html[/url]
[QUOTE=Willox;46882480][url]http://anyhost/media.tumblr/file.html[/url][/QUOTE] [img]http://puu.sh/eeXc7/4ff3ffdfba.png[/img] It doesn't allow you, anyhow i added another check.
You are going to need to do more then just check for html and php. You made it slightly harder but I am still bypassing your checks. Hint: mod_rewrite and redirection. If I told you outright where would be the fun? [video=youtube;cpbXnNbT8uU]http://www.youtube.com/watch?v=cpbXnNbT8uU[/video]
[QUOTE=failcake;46878692]I updated the addon a while ago, are you sure the server is updated? Also fixing the exploid[/QUOTE] I got it from git, are you sure git is up to date?
[QUOTE=DannyCore;46845941]porn[/QUOTE] As if normal sprays couldn't do that
[QUOTE=failcake;46883871][img]http://puu.sh/eeXc7/4ff3ffdfba.png[/img] It doesn't allow you, anyhow i added another check.[/QUOTE] Sure looks like it allows it in your image.
Sorry, you need to Log In to post a reply to this thread.