I Need Php Code To Open Email Domain After Client Submit Their Form - Programming - Nairaland
Nairaland Forum › Science/Technology › Programming › I Need Php Code To Open Email Domain After Client Submit Their Form (1200 Views)
| I Need Php Code To Open Email Domain After Client Submit Their Form by Coinmamax(op): 3:49pm On Dec 27, 2022 |
Let's say, abc@gmail.com is the client's email. After he register on my website with both email and password, he should be redirected to Gmail.com. If it's abc@fmail.com He should be redirected to fmail.com after submitting details. Can anyone help with this? |
| Re: I Need Php Code To Open Email Domain After Client Submit Their Form by Nobody: 3:57pm On Dec 27, 2022 |
I can kindly send me a email we.share@yahoo.com |
| Re: I Need Php Code To Open Email Domain After Client Submit Their Form by Coinmamax(op): 4:05pm On Dec 27, 2022 |
Caspertech:Do you have the php code ? |
| Re: I Need Php Code To Open Email Domain After Client Submit Their Form by Nobody: 4:15pm On Dec 27, 2022 |
Coinmamax:Yes |
| Re: I Need Php Code To Open Email Domain After Client Submit Their Form by Coinmamax(op): 4:57pm On Dec 27, 2022 |
Caspertech:just d code... A simple code not a script |
| Re: I Need Php Code To Open Email Domain After Client Submit Their Form by etoluw: 5:28pm On Dec 27, 2022 |
very easy. just extract part after @ and use header to redirect them to the address |
| Re: I Need Php Code To Open Email Domain After Client Submit Their Form by Coinmamax(op): 6:42pm On Dec 27, 2022 |
etoluw:Can you please drop code. Or an explanation on how to do it. Thank you |
| Re: I Need Php Code To Open Email Domain After Client Submit Their Form by bedfordng(m): 7:24am On Dec 28, 2022 |
I am not a php Dev but I guess you can do something like this. Try and search for all the email extensions used by most of this email providers and use them in your if statements. Example if (strpos($email, "gmail")){ redirect to gmail site }elseif (strpos($email, "yahoo")){ redirect to yahoo site }elseif(strpos($email, "hotmail")){ redirect to Hotmail site } So you can fine-tune it. you can use the switch case feature too if you wish. |
| Re: I Need Php Code To Open Email Domain After Client Submit Their Form by etoluw: 8:30am On Dec 28, 2022 |
Coinmamax:/* short version */ $mail = $_POST['email']; $location = 'https://' . (explode('@', $mail))[1]; header("location: $location" ; |
| Re: I Need Php Code To Open Email Domain After Client Submit Their Form by Coinmamax(op): 1:49pm On Dec 28, 2022 |
etoluw:Didn't work too |
| Re: I Need Php Code To Open Email Domain After Client Submit Their Form by etoluw: 5:25pm On Dec 28, 2022 |
Coinmamax:what error is it showing? |
| Re: I Need Php Code To Open Email Domain After Client Submit Their Form by QuoteJustOnce: 3:01am On Dec 29, 2022 |
This wants to be used for phishing. After the user would put their credentials (email + pass) in your clone (phishing page), they would be redirected to the original & legit email website (cos they were probably logged in before, thanks to cookies). A yahoo user would go to yahoomail, a gmail user would go to gmail. They would think all is fine, not knowing they came from a clone page. Giveaway: if a user would register on your app; they should be redirected to either 1. confirmation page.. please check your email for verification, or 2. user dashboard not to their email's website. I "do not" stand corrected. |
| Re: I Need Php Code To Open Email Domain After Client Submit Their Form by KidKonnekt: 2:08am On Dec 30, 2022 |
I remember when I was working with a "cyber security" company in Abuja last year. My Boss was actually a fraudster that made me build all sorts of advanced phishing scripts including the one similar to what this OP is trying to build. Email spamming, either to upgrade your email, update your details, or verify something. They still your login details and then redirect you to your inbox. They could buy over 1,000,000 email list, get RDPs, and SMTPs to help them do the job neatly. Heck! I even built a tool that separates the email list. Yahoo mails will be separated from Gmails, AOLs and the others. This was all in a bid to make sure that the right SMPTs were used so the emails always delivered 100% to the inbox. God knows how many GoDaddy mails and Amazon accounts that guy used me to hack. When I discovered, I waited till the end of the month, received my salary, tendered my resignation letter and disconnected him from contacting me. Nigerians are using good skills to do bad things. Very bad. |
| Re: I Need Php Code To Open Email Domain After Client Submit Their Form by SodiumValproate: 2:10am On Dec 30, 2022 |
KidKonnekt:So you can build phishlets for Evilgnix2. ![]() |
| Re: I Need Php Code To Open Email Domain After Client Submit Their Form by SodiumValproate: 2:14am On Dec 30, 2022 |
bedfordng:Why not use a regex that takes the part after '@' and redirect? |
| Re: I Need Php Code To Open Email Domain After Client Submit Their Form by SodiumValproate: 2:15am On Dec 30, 2022 |
etoluw:Nice |
| Re: I Need Php Code To Open Email Domain After Client Submit Their Form by Regex: 6:38am On Dec 30, 2022 |
SodiumValproate:I don't do that. If I'm taking, I take the whole part. Not some. |
| Re: I Need Php Code To Open Email Domain After Client Submit Their Form by Deicide: 7:29am On Dec 30, 2022 |
SodiumValproate:regex is slow |
| Re: I Need Php Code To Open Email Domain After Client Submit Their Form by aolfasdj: 3:20am On Jan 02, 2024 |
SodiumValproate: |
I Need Php Script For My Ecommerce Site • I Need Php & Python Video Tutorials • I Need PHP Tutorial Materials, Someone Should Please Help Me • 2 • 3 • 4
Ai Books • Where Can I Can Learn Java And Oracle Programming • Help: Are A Programer And Software Developer? Hop In
;