Archive for the ‘PHP’ Category

Html Blinking Code

July 22nd, 2014, posted in PHP
FacebookTwitterGoogle+Share
Html Blinking Code,Html Blinking, Code,Html, Blinking Code,Html code,php Blinking Code,php,php Blinking ,Code,Blinking Code text,html Blinking text,blinking,gif,




Here is a simple JavaScripted code to blink you text.
I found it online and sharing with you guys.
So, enjoy.



<head>
<script type=”text/javascript”>
<!–
spe=500;
na=document.all.tags(“blink”);
swi=1;
bringBackBlinky();
function bringBackBlinky() {
if (swi == 1) {
sho=”visible”;
swi=0;
}
else {
sho=”hidden”;
swi=1;
}
for(i=0;i<na.length;i++) {
na[i].style.visibility=sho;
}
setTimeout(“bringBackBlinky()”, spe);
}
–>Html Blinking Code,Html Blinking, Code,Html, Blinking Code,Html code,php Blinking Code,php,php Blinking ,Code,Blinking Code text,html Blinking text,blinking,gif,Blink Option Support to IE/Chrome/Mozilla Firefox ,Blink Option Support to IE,Chrome,Mozilla Firefox,Javascript,Javascript Html Blinking Code
</script>
</head>



<body>
<blink> BEST !! </blink>
</body>

FacebookTwitterGoogle+Share

What is an SMTP port

November 22nd, 2013, posted in PHP
FacebookTwitterGoogle+Share

What port should you chose for your SMTP server when you’re setting it on a mail client?

Simply put, computer ports are the communication endpoints of a computer connected to a network. They are separated to differentiate the several processes and make it easier to handle them: so each one has a particular purpose and is associated to a specific protocol.

Usually an outgoing server employs port 25: it’s the default SMTP port. However, some IPs deny its use because of the massive spam and malware traffic by which is affected. This issue is raised in particular when you need to switch to another ISP – for instance, when you’re travelling and connecting to a new provider. In this case you can try to use port 587 or  port 465 to avoid the block.

SMTP server,SMTP ,server,port ,SMTP port,IP,website,development,turboSMTP

More in detail: port 587 is supported by almost every outgoing SMTP server and it’s useful for unencrypted or TLS connections; while port 465 is the right choice if you need to connect via SSL.

turboSMTP can work both on port 587 and 465, but also on 2525 and 25025. Moreover, it completely avoids the “another ISP” issue: in fact, once you have set our SMTP as default you don’t need to configure it again or switch to other ports.

FacebookTwitterGoogle+Share

Send Email Using Gmail as my SMTP from XAMPP (PHP)

July 31st, 2013, posted in PHP
FacebookTwitterGoogle+Share

I have been trying to send email using PHP script and XAMPP Lite. The PHP script itself is not a biggies but the default XAMPP configuration doesnt allow me to send out the email.
My objective is to use Gmail as my SMTP (rather than localhost). After some digging and try and error.. Here is my solution :

Edit your php.ini (xamppphpphp.ini). Search for [mail function] and change these parameters accordingly :

SMTP = smtp.gmail.com
smtp_port = 587
sendmail_from = [your_gmail_username]@gmail.com

Note: This gmail account will be used to send the email

sendmail_path = “”D:xamppsendmailsendmail.exe” -t”

Note: I did install my xampp at D:xampp




1. Edit your sendmail.ini (xamppsendmailsendmail.ini)

Comment the “Mercury”and “A free mail service example” contents as shown below:

# Mercury
#account Mercury
#host localhost
#from postmaster@localhost
#auth off

# A freemail service example
#account Hotmail
#tls on
#tls_certcheck off
#host smtp.live.com
#from [exampleuser]@hotmail.com
#auth on
#user [exampleuser]@hotmail.com
#password [examplepassword]



2. Add the account through which you want to send your mails. In my example I have configured the Gmail account as shown below:

account Gmail
tls on
tls_certcheck off
host smtp.gmail.com
from [your_gmail_username]@gmail.com
auth on
user [your_gmail_username]@gmail.com
password [your_gmail_password]port 587



3. Set the default account to Gmail as shown below:

account default : Gmail

Many thanks to this link . His original post point me to the right direction. The only missing piece is port number in sendmail.ini where gmail no longer use port 25 as smtp port but 587. Hope this help.

FacebookTwitterGoogle+Share

What Is A Fraud Page Or Phishing Site ?

July 27th, 2013, posted in PHP
FacebookTwitterGoogle+Share

What Is A Fraud Page Or Phishing Site ?,Fraud Page,Phishing Site,html,php,RSA Anti-Fraud Command Center RSA,Security Division of EMC,Security Division,website deveploment, website security,FREE SCRIPT WEBSITES,FREE SCRIPT ,WEBSITES,

Studying ”  ethical hacking has given me an upper hand on the hackers.”  Hackers are people who learn stuff on their own. But we on the other hand are taught how to use stuff for saftey purposes.

One of our tools are security companies like RSA Anti-Fraud Command Center. Hackers basically inject their script code and upload it on FREE SCRIPT WEBSITES. Most developers are unaware of that fact and to save their time they download such scripts and upload it to their website. These script create automatic login pages that redirect to other websites. These are called Fraud Pages.
These pages should be reported immediately to RSA Anti-Fraud Command Center. What they do is they send an email just like below :

Dear Team

It appears that your website ******.com has been hacked by a fraudster. It is now hosting a phishing attack against RBC.
Please remove the fraudulent folders/files as soon as possible and secure your website as it has been compromised.
Please note that it is possible that the fraudulent content is embedded in your website’s legitimate files.

http://www.*****.com/sites/Library_/redirect.php

In addition, please send us any source files of the attack.
Please let us know if you have any questions or need further assistance. We appreciate your cooperation.

Best Regards,

RSA Anti-Fraud Command Center
RSA, The Security Division of EMC
US Phone: +1-866-408-7525
Email: afcc@rsa.com
For more information about RSA’s AFCC
http://www.rsa.com/node.aspx?id=3348

“

to the concerned authority and tell them to remove it. This is a very good way since they allow the developer to correct his mistake and be careful for next time.

You can see the contact information in their email and whenever you come across any such illegal page.

Just report it !!

Help us keep web clean and safe for upcoming generation !!

Note : This blog was written by a friend.
http://qambarraza.com/certified-ethical-hacking-ceh/what-is-a-fraud-page-or-phishing-site.html

FacebookTwitterGoogle+Share