How to use email addy in user:pass ?
August 7th, 2016
eg htp://user:pass@somesite.com – the normal way,
but if the user is an email it becomes
htp://joe@emailprovider.com:pass@somesite.com – obviously that wont work.
I’m sure I read how to do it sometime way back in the past, but I cant find the information again.
Thanks
what I remember is either function won’t work with windows. it was disabled because it was a security risk. although there was a patch that could enable that user:pass@somesite each user would have to apply it. so it’s essentially dead. the email version would have the same result. it won’t work.
Well, I don’t think you can use an email address as a username with that method
because windows automatically assumes that when you use the @ sign then you’re providing the site
to log-in to. It’s http btw. Set that aside, This method only works with plain HTTP authentication (Like used on routers)
These days, The vast majority of sites that require log-in use a script with SQL db query+Cookies for authentication (So this method simply won’t work with any modern site!)
The user:pass was the method that was depreciated (only in IE as far as I remember), but it does still work for many simple sites.
I want to move some files from one of my hosts to another – nothing more complicated or nefarious that that . I can easily move them from the site where I have a proper username. – just give the new site the links in the form of htp://user:pass@old_host_site/linktofile/filename
The other site that uses an email address as a login is the problem. I know I read a way to do this a long, long time ago, but I can remember where or how.
There is a patch for IE, I think I have it on my work pc from my old porn hacking days – will dig it out for you.
You can use exactly the same method for sending a link to a pass protected ftp, or directory on it to someone.
Thanks, but I dont need the patch
The method works fine in firefox (and always has I believe).
As I said, the problem is if the username is an email address – there’s too many @’s.
I know theres a way round it, I remember thinking that the method was very clever (and simple), thats why it sticks in my mind that it can be done.
try the URL encoded version
so replace @ with %40
ftp://username%40domain:password@ftpsucks.com
Sounded like a winner……… but no cigar
I’m still getting a “Content-Type is text/html. Please use a direct download link.” pah
Thanks for the tip though Stew
What is it you’re trying to do? Remote uploading or something?
Yeah, getting my files from filefactory to hotfile – its the only one thats giving me problems.
I’ve not used FF for years. Have you enabled the option for direct downloads of links? Is there an option for remote uploading? It could be that it’s simply taking the request for the direct link instead of forwarding the direct link URL, which I’m not sure how you’d resolve.
You gave me an idea – I enabled traffic-share for a file I wanted to move. That means it should start straight away, acting like a direct, premium link for anyone who requests it.
It works great in any browser that doesn’t have my credentials (IE, chrome etc) – so I know its acting like it should. BUT for a request by HF it still returns the above error – so I’m leaning towards the notion the FF block requests from HF.
Thanks for your time mate
If you’re really eager to get it working you can try sending the requests through a proxy on your local machine (or the machine running the scripts)
http://squid.acmeconsulting.it/Squid27.html
If you need to hide the fact it’s a proxy, something like the below in the config
request_header_access Proxy-Connection deny all
request_header_access X-Forwarded-For deny all
request_header_access Connection deny all
request_header_access Via deny all
request_header_access Cache-Control deny all
Thanks for the idea, but I’ve just looked at the squid docs and it looks way above my level.
Cheers
But anybody knows,how this method works in pornsites . Did they send automatically that kind of links e-mails:password or that kind logins are simply made just by hackers witb by some program.