how to cross scripting on this html?
<div class="snippet" data-lang="js" data-hide="false"><div class="snippet-code"><pre class="snippet-code-html lang-html prettyprint-override"><br /><code></div><br /> </div><br /> </div><br /> </div><br /> <div class="col2-set addressbook"><br /> <div class="box"><br /> <div class="box-title"><br /> <h3>Address Book</h3><br /> <a href="http://ift.tt/1UjFqaH">Manage Addresses</a><br /> </div><br /> <div class="box-content"><br /> <div class="col-1"><br /> <h4>Default Billing Address</h4><br /> <a href="http://ift.tt/1QuZSPG">Edit</a><br /> <address><br /> You have not set a default billing address.<br /><br /> <br /> </address><br /> </div><br /> <div class="col-2"><br /> <h4>Default Shipping Address</h4><br /> <a href="http://ift.tt/1QuZSPG">Edit</a><br /> <address><br /> You have not set a default shipping address.<br /><br /> <br /> </address><br /> </div><br /> </div><br /> </div><br /></div><br /> </div><br /> </div></div> </div><br /> </div><br /> <div class="col-left sidebar"><div class="block block-account"><br /> <div class="block-title"><br /> <strong><span>My Account</span></strong><br /> </div><br /> <div class="block-content"><br /> <ul></code><br /></pre></div></div><p>i have this html code. I want the word :'root anonymous' in this html become a hyperlink for xss cross site scripting. can anyone tell me how to do this thing? i am not a program developer, this is just my exam. please write for me that code. Thanks.</p><div class="snippet" data-lang="js" data-hide="false"><div class="snippet-code"><pre class="snippet-code-html lang-html prettyprint-override"><br /><code><div class="page-title"><br /> <h1>My Dashboard</h1><br /> </div><br /> <div class="welcome-msg"><br /> <p class="hello"><strong>Hello, root anonymous!</strong></p><br /> <p>From your My Account Dashboard you have the ability to view a snapshot of your recent account activity and update your account information. Select a link below to view or edit information.</p><br /></div><br /> <div class="box-account box-info"><br /> <div class="box-head"><br /> <h2>Account Information</h2><br /> </div><br /> <div class="col2-set"><br /> <div class="col-1"><br /> <div class="box"><br /> <div class="box-title"><br /> <h3>Contact Information</h3><br /> <a href="http://ift.tt/1UjFqaJ">Edit</a><br /> </div><br /> <div class="box-content"><br /> <p><br /> root anonymous<br /><br /> example@gmail.com<br /><br /> <a href="http://ift.tt/1QuZSPI">Change Password</a><br /> </p><br /> </div><br /> </div><br /> </div><br /> <div class="col-2"><br /> <div class="box"><br /> <div class="box-title"><br /> <h3>Newsletters</h3><br /> <a href="http://ift.tt/1UjFqaL">Edit</a><br /> </div><br /> <div class="box-content"><br /> <p><br /> You are currently not subscribed to any newsletter.</code><br /></pre></div></div><br /><h2>Click here view more answers <a href="http://ift.tt/21bxQUS">http://ift.tt/21bxQUS</a></h2>
Nhận xét
Đăng nhận xét