мерси за отговора! мн добре е обяснено,ама нещо се издани...
направих фаил clients.py със съдържание:
!/usr/bin/env python
# -*- coding: cp1251 -*-
# Copyright 2006 Martin Minkov
# Distributed under the terms of the GNU General Public License v2
#
#
'>? ?
'>?
'> ?? Python
'>?
'> ??
'>
?? SIM (sim-im.org).
'>?
'>?
'>
# ?
'>?
'>? ??
'>?
'>?
'>? ?? Client::Client ??
'>?? contacts.cpp ??
'>?
# ?? SIM.
'>?
'>?
'>?
'>
?
'>?? ??
'>??
'>?:
#
# copyright : © 2002 by Vladimir Shutoff
# email :
vovan@shutoff.ru# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation; either version 2 of the License, or
# (at your option) any later version.
encoded = "$4375$434d$4375$434d"
decoded = ""
temp = 0x4345
encoded = encoded[1:]
while True:
pos = encoded.find("$")
if pos == -1:
substr = encoded
else:
substr = encoded[:pos]
subno = int(substr, 16)
temp = temp ^ subno
decoded = decoded + chr(temp)
temp = subno
if pos == -1:
break
else:
encoded = encoded[pos+1:]
print decoded
направих го изпълним (при поста изтрих няколко символа от криптираната си парола)и написах :
./clients.py
i eto kakvo vyrna:
root@darkstar:~# ./clients.py
./clients.py: line 1: !/usr/bin/env: No such file or directory
./clients.py: line 17: encoded: command not found
./clients.py: line 19: decoded: command not found
./clients.py: line 20: temp: command not found
./clients.py: line 21: encoded: command not found
./clients.py: line 23: syntax error near unexpected token `('
./clients.py: line 23: ` pos = encoded.find("$")'
идея защо дава това
'>?
или примерно ако ти се занимава да обясниш как да подкарам john the ripper? инстал сам го и му пуснах теста ама след това не мога да хвана как става
'>. в примерите има показано за /etc/shadow как се прави,ама не можах да направя аналогия с моя слу4аи