Ranter
Join devRant
Do all the things like
++ or -- rants, post your own rants, comment on others' rants and build your customized dev avatar
Sign Up
Pipeless API
From the creators of devRant, Pipeless lets you power real-time personalized recommendations and activity feeds using a simple API
Learn More
Comments
-
@alexbrooklyn yeah.. But this was a file on my localhost I executed once in a while a long time ago for some automated stuffs. Was probably added by accident via a key combo or something like that.
-
C0D4681385y@sgzadrian manual trigger when you don't want to wait for the cron and can't be bothered jumping onto the server.
But NO you shouldn't keep said files located in a place that A) can be triggered accidentally or B) in a place that randomly fires requests. -
stacked26795yI think the lesson learned here should be: don't perform fucking actions on GET requests.
-
@kescherRant @stacked Absolutly true. But I sometimes use php scripts for local stuffs as a random example (should switch to shell scripts instead) to create backups and whatnot (no server or API stuff)
-
@stacked for some scripts not, because some are local files that you have to know where they’re stored and you’d have to have access to my actual device (+ nothing security or data related). The bookmark was by accident via a key-combo probably.
Related Rants
-
whitekoffee27My boss to me: Holy shit dude I think you have very serious case of OCD. Me: :/
-
mr-icarus24This is when writing a script that sets up your dev environment pays off... Having 6 new employees join our s...
-
practiseSafeHex7Me: So i've cloned the iOS project, i've run carthage, but it won't build.. Have I done something wrong? Devs...
Tip: Never add an execution (PHP for example) script as a bookmark in your browser..
Your browser will occasionally poll the saved URL to update the favicon or sync to the server or something like that, which triggers the script without you knowing...
rant
hair has been pulled
bookmarks
scripts