Показать сообщение отдельно

  #4  
Старый 16.09.2009, 15:30
mailbrush
Познавший АНТИЧАТ
Регистрация: 24.06.2008
Сообщений: 1,996
С нами: 9410786

Репутация: 2731


По умолчанию

Цитата:
Сообщение от ElteRUS  
Чего полезного из этого можно извлечь ?
Сам хз

Кстати, можно ли из ошибки конвертирования сделать инъекцию? При подстановке
Код:
ID=1322879'
выводит

Цитата:
Сообщение от ElteRUS  
Чего полезного из этого можно извлечь ?
Сам хз

Кстати, можно ли из ошибки конвертирования сделать инъекцию? При подстановке
Код:
ID=1322879'
выводит

Код:
Server Error in '/' Application.
Input string was not in a correct format. 
Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code. 

Exception Details: System.FormatException: Input string was not in a correct format.

Source Error: 

Line 139:        forumid = CLng(SafeHTML(Request.QueryString("forumid")))
Line 140:        If mode = "edit" Then 
Line 141:            forumid = GetSingleValueViaRS("SELECT forumid from pgd_messages with (nolock) WHERE messageID=" & CLng(SafeHTML(Request.QueryString("messageID"))), CommandType.Text, 0)
Line 142:            arrTheArray = GetArrayViaRS("SELECT upfile,upfilesize from pgd_upfile with (nolock) WHERE messageID=" & CLng(SafeHTML(Request.QueryString("messageID"))), CommandType.Text)
Line 143:            If IsArray(arrTheArray) Then 


Source File: не скажу :)   Line: 141 

Stack Trace: 

[FormatException: Input string was not in a correct format.]
   Microsoft.VisualBasic.CompilerServices.Conversions.ParseDecimal(String Value, NumberFormatInfo NumberFormat) +718618
   Microsoft.VisualBasic.CompilerServices.Conversions.ToLong(String Value) +178

[InvalidCastException: Conversion from string "1322879'" to type 'Long' is not valid.]
   Microsoft.VisualBasic.CompilerServices.Conversions.ToLong(String Value) +714736
   ASP.upload_aspx.__Render__control1(HtmlTextWriter __w, Control parameterContainer) in не скажу :):141
   System.Web.UI.Control.RenderChildrenInternal(HtmlTextWriter writer, ICollection children) +115
   System.Web.UI.Page.Render(HtmlTextWriter writer) +38
   System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +4240


Version Information: Microsoft .NET Framework Version:2.0.50727.3082; ASP.NET Version:2.0.50727.3082
 
Ответить с цитированием