I'm Aoddy.

If you lose yourself, you lose everything. — Michael Scofield

เมื่อฉันลืม Password

by aoddy on June 25, 2010

เรื่องมีอยู่ว่า ต้องเข้ามา Upgrade WordPress 2.9 ไปเป็น 3.0 แต่ด้วยความที่นานมากแล้วที่ไม่ได้เข้ามาเป็น Admin ก็เลยลืม Password แต่โชคยังดีที่ผมให้คุณ “จิ้งจอกอัคคี” จำรหัสผ่าน พอผมใส่ Username ไอ้รหัสบ้านั้นก็แปลงร่างเป็นจุด โผล่ออกมาท้าทาย “อ่ะ..แน่จริงมึง นึกให้ออก..มึงนึกให้ออก”

ชื่อสาวทุกคนผมก็ใส่หมดแล้ว.. มันก็ยังไม่ออก(ปกติผมจะเอาชื่อสาว..เป็นรหัสผ่าน บางครั้งมีการบวก “ความนัย” ไปอีกเล็กน้อยเพื่อเพิ่มความ Security) จดสุดท้ายต้องงัดใช้กระบี่เพลงสุดท้าย “show hidden password java script” ใส่ Google เสียงดัง “ฟุบส์” โป๊ะเช่ะ..จะเหลือเหรอ

ก็ง่ายๆ เลยครับเอา JavaScript ด้านล่างใส่ลงไปใน URL ไอ้หน้าที่เราต้องการจะดูนั่นแหละ..เราก็จะเห็นทันที

javascript:(function(){var s,F,j,f,i; s = ""; F = document.forms; for(j=0; j<F.length; ++j) { f = F[j]; for (i=0; i<f.length; ++i) { if (f[i].type.toLowerCase() == "password") s += f[i].value + "\n"; } } if (s) alert("Passwords in forms on this page:\n\n" + s); else alert("There are no passwords in forms on this page.");})();

ไอ้รหัสผ่าน นั้นก็จะโชว์มาให้เราเห็นทันที

ทำให้รู้ว่า…อย่าให้ Browser จำรหัสผ่านดีที่สุด

Original link : www.raymond.cc

Related Posts

Leave a Reply

Your email address will not be published. Required fields are marked *

*

*


You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong> <pre lang="" line="" escaped="">