Какви са кодовете?

User avatar
fci
Нов
Нов
Posts: 71
Joined: Sun Dec 04, 2005 10:41 am
Contact:

Какви са кодовете?

Post by fci » Thu Jan 26, 2006 11:02 am

Трябват ми два кода :

1 Да показва грешен код като някой натиска "source code"

2 Когато някой влезе в сайта да му издава надпис да пише парола
(която съм си измислил) и само този който я знае да влиза

User avatar
bafitu
Много Редовен
Много Редовен
Posts: 1509
Joined: Mon Dec 12, 2005 9:12 am
Answers: 102
Location: Somewhere around nothing..

Post by bafitu » Thu Jan 26, 2006 11:26 am

1. Какво значи "грешен код" ? искаш да е кодиран ли ?
2. със ХТМЛ не , с JavaScript ще стане , но при един преглед на кода и...няма смисъл

User avatar
staf
Шаман
Шаман
Posts: 4254
Joined: Sun Sep 25, 2005 10:14 pm
Answers: 9
Contact:

Post by staf » Thu Jan 26, 2006 12:40 pm

bafitu wrote:1. Какво значи "грешен код" ? искаш да е кодиран ли ?
2. със ХТМЛ не , с JavaScript ще стане , но при един преглед на кода и...няма смисъл
ако много се обърка кода с най различни синволи става много труден за четене

User avatar
fena
Web-tourist
Web-tourist
Posts: 2606
Joined: Sun Sep 25, 2005 10:14 pm
Answers: 15

Post by fena » Thu Jan 26, 2006 12:58 pm

неможе грешен да го вади, може да е нечетим за човешкото око, но браузъра да си го чете нормално

User avatar
staf
Шаман
Шаман
Posts: 4254
Joined: Sun Sep 25, 2005 10:14 pm
Answers: 9
Contact:

Post by staf » Thu Jan 26, 2006 1:20 pm

Imah predwit 4e moje ednin js da naprawi nai razli4ni simwoli v koda, a toi da e weren.Primerno da razdelq wsqka duma s takiwa sinwoli %%’’,..,”:” #:”!!* t.n. I kato trugne nqkoi da go 4ete 6e se obyrka kato widi tezi sinwoli .

Brauzera raz4ita koda wqrno….
Primer:

Code: Select all

 document.write("                ",start,"td width=",'"',"54%",'"'," align=",'"',"right",'"',">",start,"b>",start,"font class=",'"',"NArial",'"'," color=",'"',"",'"',">darkshadow-color:",start,"",slash,"font>",start,"",slash,"b>",start,"",slash,"td>\n")
document.write("                ",start,"td width=",'"',"46%",'"',">",start,"input class=",'"',"hexfield",'"'," type=",'"',"text",'"'," name=",'"',"darkshadow",'"'," value=",'"',"",'"'," size=",'"',"10",'"',">",start,"",slash,"td>\n")
document.write("              ",start,"",slash,"tr>\n")
document.write("              ",start,"tr>\n")
document.write("                ",start,"td width=",'"',"54%",'"'," align=",'"',"right",'"',">",start,"b>",start,"font class=",'"',"NArial",'"'," color=",'"',"",'"',">shadow-color:",start,"",slash,"font>",start,"",slash,"b>",start,"",slash,"td>\n")
document.write("                ",start,"td width=",'"',"46%",'"',">",start,"input class=",'"',"hexfield",'"'," type=",'"',"text",'"'," name=",'"',"shadow",'"'," value=",'"',"",'"'," size=",'"',"10",'"',">",start,"",slash,"td>\n")
document.write("              ",start,"",slash,"tr>\n")
document.write("              ",start,"tr>\n")
document.write("                ",start,"td width=",'"',"54%",'"'," align=",'"',"right",'"'," bgcolor=",'"',"",'"',">",start,"b>",start,"font class=",'"',"NArial",'"'," color=",'"',"",'"',">arrow-color:",start,"",slash,"font>",start,"",slash,"b>",start,"",slash,"td>\n")
document.write("                ",start,"td width=",'"',"46%",'"'," bgcolor=",'"',"",'"',">",start,"input class=",'"',"hexfield",'"'," type=",'"',"text",'"'," name=",'"',"arrow",'"'," value=",'"',"",'"'," size=",'"',"10",'"',">",start,"",slash,"td>\n")
document.write("              ",start,"",slash,"tr>\n")
document.write("              ",start,"tr>\n")
document.write("                ",start,"td width=",'"',"54%",'"'," align=",'"',"right",'"'," bgcolor=",'"',"",'"',">",start,"b>",start,"font class=",'"',"NArial",'"'," color=",'"',"",'"',">track-color:",start,"",slash,"font>",start,"",slash,"b>",start,"",slash,"td>\n")
document.write("                ",start,"td width=",'"',"46%",'"'," bgcolor=",'"',"",'"',">",start,"input class=",'"',"hexfield",'"'," type=",'"',"text",'"'," name=",'"',"track",'"'," value=",'"',"",'"'," size=",'"',"10",'"',">",start,"",slash,"td>\n")
document.write("              ",start,"",slash,"tr>\n")
document.write("            ",start,"",slash,"table>\n")
document.write("          ",start,"",slash,"td>\n")
document.write("        ",start,"",slash,"tr>\n")
document.write("      ",start,"",slash,"table>\n")
document.write("    ",start,"",slash,"td>\n")
document.write("  ",start,"",slash,"tr>\n")
document.write("",start,"",slash,"table>\n")
document.write("\n")
document.write("\n") 
Primer:

Code: Select all

<script>
<!--
document.write&#40;unescape&#40;"document.write%28%22%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%22%2Cstart%2C%22td%20width%3D%22%2C%27%22%27%2C%2254%25%22%2C%27%22%27%2C%22%20align%3D%22%2C%27%22%27%2C%22right%22%2C%27%22%27%2C%22%3E%22%2Cstart%2C%22b%3E%22%2Cstart%2C%22font%20class%3D%22%2C%27%22%27%2C%22NArial%22%2C%27%22%27%2C%22%20color%3D%22%2C%27%22%27%2C%22%22%2C%27%22%27%2C%22%3Edarkshadow-color%3A%22%2Cstart%2C%22%22%2Cslash%2C%22font%3E%22%2Cstart%2C%22%22%2Cslash%2C%22b%3E%22%2Cstart%2C%22%22%2Cslash%2C%22td%3E%5Cn%22%29%0D%0Adocument.write%28%22%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%22%2Cstart%2C%22td%20width%3D%22%2C%27%22%27%2C%2246%25%22%2C%27%22%27%2C%22%3E%22%2Cstart%2C%22input%20class%3D%22%2C%27%22%27%2C%22hexfield%22%2C%27%22%27%2C%22%20type%3D%22%2C%27%22%27%2C%22text%22%2C%27%22%27%2C%22%20name%3D%22%2C%27%22%27%2C%22darkshadow%22%2C%27%22%27%2C%22%20value%3D%22%2C%27%22%27%2C%22%22%2C%27%22%27%2C%22%20size%3D%22%2C%27%22%27%2C%2210%22%2C%27%22%27%2C%22%3E%22%2Cstart%2C%22%22%2Cslash%2C%22td%3E%5Cn%22%29%0D%0Adocument.write%28%22%20%20%20%20%20%20%20%20%20%20%20%20%20%20%22%2Cstart%2C%22%22%2Cslash%2C%22tr%3E%5Cn%22%29%0D%0Adocument.write%28%22%20%20%20%20%20%20%20%20%20%20%20%20%20%20%22%2Cstart%2C%22tr%3E%5Cn%22%29%0D%0Adocument.write%28%22%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%22%2Cstart%2C%22td%20width%3D%22%2C%27%22%27%2C%2254%25%22%2C%27%22%27%2C%22%20align%3D%22%2C%27%22%27%2C%22right%22%2C%27%22%27%2C%22%3E%22%2Cstart%2C%22b%3E%22%2Cstart%2C%22font%20class%3D%22%2C%27%22%27%2C%22NArial%22%2C%27%22%27%2C%22%20color%3D%22%2C%27%22%27%2C%22%22%2C%27%22%27%2C%22%3Eshadow-color%3A%22%2Cstart%2C%22%22%2Cslash%2C%22font%3E%22%2Cstart%2C%22%22%2Cslash%2C%22b%3E%22%2Cstart%2C%22%22%2Cslash%2C%22td%3E%5Cn%22%29%0D%0Adocument.write%28%22%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%22%2Cstart%2C%22td%20width%3D%22%2C%27%22%27%2C%2246%25%22%2C%27%22%27%2C%22%3E%22%2Cstart%2C%22input%20class%3D%22%2C%27%22%27%2C%22hexfield%22%2C%27%22%27%2C%22%20type%3D%22%2C%27%22%27%2C%22text%22%2C%27%22%27%2C%22%20name%3D%22%2C%27%22%27%2C%22shadow%22%2C%27%22%27%2C%22%20value%3D%22%2C%27%22%27%2C%22%22%2C%27%22%27%2C%22%20size%3D%22%2C%27%22%27%2C%2210%22%2C%27%22%27%2C%22%3E%22%2Cstart%2C%22%22%2Cslash%2C%22td%3E%5Cn%22%29%0D%0Adocument.write%28%22%20%20%20%20%20%20%20%20%20%20%20%20%20%20%22%2Cstart%2C%22%22%2Cslash%2C%22tr%3E%5Cn%22%29%0D%0Adocument.write%28%22%20%20%20%20%20%20%20%20%20%20%20%20%20%20%22%2Cstart%2C%22tr%3E%5Cn%22%29%0D%0Adocument.write%28%22%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%22%2Cstart%2C%22td%20width%3D%22%2C%27%22%27%2C%2254%25%22%2C%27%22%27%2C%22%20align%3D%22%2C%27%22%27%2C%22right%22%2C%27%22%27%2C%22%20bgcolor%3D%22%2C%27%22%27%2C%22%22%2C%27%22%27%2C%22%3E%22%2Cstart%2C%22b%3E%22%2Cstart%2C%22font%20class%3D%22%2C%27%22%27%2C%22NArial%22%2C%27%22%27%2C%22%20color%3D%22%2C%27%22%27%2C%22%22%2C%27%22%27%2C%22%3Earrow-color%3A%22%2Cstart%2C%22%22%2Cslash%2C%22font%3E%22%2Cstart%2C%22%22%2Cslash%2C%22b%3E%22%2Cstart%2C%22%22%2Cslash%2C%22td%3E%5Cn%22%29%0D%0Adocument.write%28%22%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%22%2Cstart%2C%22td%20width%3D%22%2C%27%22%27%2C%2246%25%22%2C%27%22%27%2C%22%20bgcolor%3D%22%2C%27%22%27%2C%22%22%2C%27%22%27%2C%22%3E%22%2Cstart%2C%22input%20class%3D%22%2C%27%22%27%2C%22hexfield%22%2C%27%22%27%2C%22%20type%3D%22%2C%27%22%27%2C%22text%22%2C%27%22%27%2C%22%20name%3D%22%2C%27%22%27%2C%22arrow%22%2C%27%22%27%2C%22%20value%3D%22%2C%27%22%27%2C%22%22%2C%27%22%27%2C%22%20size%3D%22%2C%27%22%27%2C%2210%22%2C%27%22%27%2C%22%3E%22%2Cstart%2C%22%22%2Cslash%2C%22td%3E%5Cn%22%29%0D%0Adocument.write%28%22%20%20%20%20%20%20%20%20%20%20%20%20%20%20%22%2Cstart%2C%22%22%2Cslash%2C%22tr%3E%5Cn%22%29%0D%0A"&#41;&#41;;
//-->
</script>

Eto edin generator: http://www.web-tourist.net/project/staf/Sourcess.html

User avatar
bafitu
Много Редовен
Много Редовен
Posts: 1509
Joined: Mon Dec 12, 2005 9:12 am
Answers: 102
Location: Somewhere around nothing..

Post by bafitu » Thu Jan 26, 2006 2:01 pm

да но какъв е смисъла ? ако някои се потруди така или иначе пак ще го разбере кода...+ това става тонове код ... ако ще прави нещо с пароли да го прави на пхп...така е по-сигурно...ама той си решава

Admin
Site Admin
Site Admin
Posts: 5
Joined: Thu Jan 01, 1970 12:00 am
Answers: 224

Post by Admin » Thu Jan 26, 2006 4:31 pm

Може да се направи парола на javascript.
НЕпробиваема. :)

ЕТО:
http://test.web-tourist.net

User avatar
bafitu
Много Редовен
Много Редовен
Posts: 1509
Joined: Mon Dec 12, 2005 9:12 am
Answers: 102
Location: Somewhere around nothing..

Post by bafitu » Thu Jan 26, 2006 4:41 pm

Пасс: theKeepersGopher
виждаш ли пак се разбира за 1 мин тук якото е , че паролата отговаря на страницата която ще се отвори и малко се обърква , но както виждаш пак я намерих бързо :)

Admin
Site Admin
Site Admin
Posts: 5
Joined: Thu Jan 01, 1970 12:00 am
Answers: 224

Post by Admin » Thu Jan 26, 2006 4:48 pm

bafitu wrote:Пасс: theKeepersGopher
виждаш ли пак се разбира за 1 мин тук якото е , че паролата отговаря на страницата която ще се отвори и малко се обърква , но както виждаш пак я намерих бързо :)
Какви ги приказваш? :shock:
Няма такава страница и такава парола.
КАкво става.
Дай линк към тази страница.

User avatar
bafitu
Много Редовен
Много Редовен
Posts: 1509
Joined: Mon Dec 12, 2005 9:12 am
Answers: 102
Location: Somewhere around nothing..

Post by bafitu » Thu Jan 26, 2006 4:50 pm

опа сори заблудил съм се :) хах не се шашкай..
а каква е паролата ?!
ЕДИТ: аха ясно схванах ако имам страница lqlq.html паролата ще е lqlq , но хубавото е , че никой незнае , че има страница lqlq от това следва , че няма да знае и каква е паролата :) хм умно измислено... :wink:

Post Reply