Results 1 to 5 of 5

Thread: Metasploit Unleashed Question

  1. #1
    Just burned his ISO
    Join Date
    Apr 2011
    Posts
    5

    Default Metasploit Unleashed Question

    Hi All

    Hoping that I can ask a question about the Metasploit Unleashed tutorials seeing as its by offensive security....

    I have got an issue I cant find any information about and is driving me a bit nuts, Ive got to the 'Creating A Vulnerable Webapp' section http://www.offensive-security.com/me...nerable_Webapp

    I have gone through the XP set up multiple times and have set up XP sp2 on Vmware Workstation.

    After pasting the code that creates the website to interact with the back-end database and opening a web browser to browse to my IP im greeted with a 'Parser Error' instead of the log-in form i should be presented with ....

    Code:
    Parser Error Message: The file '/Default.aspx.cs' does not exist.
    
    Source Error: 
    
    Server Error in '/' Application.
    --------------------------------------------------------------------------------
    
    Parser Error 
    Description: An error occurred during the parsing of a resource required to service this request. Please review the following specific parse error details and modify your source file appropriately. 
    
    Parser Error Message: The file '/Default.aspx.cs' does not exist.
    
    Source Error: 
    
    
    Line 1:  <%@ Page Language="C#" AutoEventWireup="true" ValidateRequest="false" CodeFile="Default.aspx.cs" Inherits="_Default" %>
    Line 2:  <%--the ValidateRequest="true" in the page directive will check for <script> and other potentially dangerous inputs--%>
    Line 3:  <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
     
    
    Source File: /Default.aspx    Line: 1
    Ive triple checked the file paths for the 'Default.aspx.cs' and its in the right place along with the other 2 files, Ive tried renaming it in the 'Default.aspx' and 'Default.aspx.cs' and im not getting passed the error.

    Anyone else get stuck here ? Anyone know what might cause the 'Default.aspx.cs' to be invisible to the application ?

    thanks in advance for any help

  2. #2
    Just burned his ISO
    Join Date
    Jan 2010
    Location
    US
    Posts
    1

    Default Re: Metasploit Unleashed Question

    Quote Originally Posted by wark1tten View Post
    Hi All

    Hoping that I can ask a question about the Metasploit Unleashed tutorials seeing as its by offensive security....

    I have got an issue I cant find any information about and is driving me a bit nuts, Ive got to the 'Creating A Vulnerable Webapp' section http://www.offensive-security.com/me...nerable_Webapp

    I have gone through the XP set up multiple times and have set up XP sp2 on Vmware Workstation.

    After pasting the code that creates the website to interact with the back-end database and opening a web browser to browse to my IP im greeted with a 'Parser Error' instead of the log-in form i should be presented with ....

    Code:
    Parser Error Message: The file '/Default.aspx.cs' does not exist.
    
    Source Error: 
    
    Server Error in '/' Application.
    --------------------------------------------------------------------------------
    
    Parser Error 
    Description: An error occurred during the parsing of a resource required to service this request. Please review the following specific parse error details and modify your source file appropriately. 
    
    Parser Error Message: The file '/Default.aspx.cs' does not exist.
    
    Source Error: 
    
    
    Line 1:  <%@ Page Language="C#" AutoEventWireup="true" ValidateRequest="false" CodeFile="Default.aspx.cs" Inherits="_Default" %>
    Line 2:  <%--the ValidateRequest="true" in the page directive will check for <script> and other potentially dangerous inputs--%>
    Line 3:  <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
     
    
    Source File: /Default.aspx    Line: 1
    Ive triple checked the file paths for the 'Default.aspx.cs' and its in the right place along with the other 2 files, Ive tried renaming it in the 'Default.aspx' and 'Default.aspx.cs' and im not getting passed the error.

    Anyone else get stuck here ? Anyone know what might cause the 'Default.aspx.cs' to be invisible to the application ?

    thanks in advance for any help
    Just go into the directory of where the file Default.aspx.cs is. You will find that it is just named Default. Change it to Default.aspx.cs. Hope that helps you.

    Portablegamemaster

  3. #3
    Just burned his ISO
    Join Date
    Apr 2011
    Posts
    5

    Default Re: Metasploit Unleashed Question

    Thanks ill try this , I'm actually on holiday so ill report back in week,many thanks

  4. #4
    Just burned his ISO
    Join Date
    Sep 2010
    Posts
    20

    Default Re: Metasploit Unleashed Question

    I resolved this by double checking that Default.aspx was still named Default.aspx

    Even though the error states that Default.aspx.cs is not present it was named properly the whole time for me.

  5. #5
    Just burned his ISO
    Join Date
    Apr 2011
    Posts
    3

    Default Re: Metasploit Unleashed Question

    Hi

    I'm having a look at this using Win2003 with SQL Express. The Netstat -ano checks out buut I have an issue accessing the same page. However the message I get is..



    <<<<<<<<<<
    Server Error in '/' Application.
    --------------------------------------------------------------------------------

    Configuration Error
    Description: An error occurred during the processing of a configuration file required to service this request. Please review the specific error details below and modify your configuration file appropriately.

    Parser Error Message: Unrecognized configuration section 'connectionStrings'

    Source Error:


    Line 1: <?xml version="1.0"?>
    Line 2: <configuration>
    Line 3: <connectionStrings>
    Line 4: <add name="test" connectionString="server=localhost;database=WebApp ;uid=sa;password=password1;" providerName="System.Data.SqlClient"/>
    Line 5: </connectionStrings>


    Source File: c:\inetpub\wwwroot\web.config Line: 3


    --------------------------------------------------------------------------------
    Version Information: Microsoft .NET Framework Version:1.1.4322.2300; ASP.NET Version:1.1.4322.2300
    >>>>>>>>>>>>>

    Any ideas?

Similar Threads

  1. proeblem in metasploit unleashed curse
    By yogevmi in forum Beginners Forum
    Replies: 0
    Last Post: 08-31-2010, 02:17 PM
  2. Metasploit unleashed (mastering the framework)
    By firebits in forum Tutoriais e Howtos
    Replies: 0
    Last Post: 04-09-2010, 07:37 PM
  3. Metasploit Unleashed Course, adding another application to the mix
    By Lincoln in forum OLD BackTrack 4 Howto
    Replies: 5
    Last Post: 12-13-2009, 03:00 AM
  4. Metasploit Unleashed Required files
    By playtrack in forum OLD BackTrack 4 General Support
    Replies: 1
    Last Post: 09-30-2009, 12:29 PM
  5. Metasploit Unleashed - Mastering the Framework
    By muts in forum OLD BackTrack News
    Replies: 27
    Last Post: 08-20-2009, 12:54 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •