Enter your Attack JS url in above sp and replace with blank space ” i.e Exec RemoveStringFinal ‘<script src=http://www.en-us18.com/b.js></script>’,”
if your data have <script src=http://www.en-us18.com/b.js></script> string in your database then you run above sp with ‘Exec RemoveStringFinal ‘<script src=http://www.en-us18.com/b.js></script>’,”’
I will post soon for How to Protect our database website with SQL Injection.
Application.Contents() COLLECTION. Contains all of the items that have been added to the Application through script commands.
Application.StaticObjects() COLLECTION. Contains all of the objects added to the session with the [OBJECT] tag.
Application.Lock() METHOD. The Lock method prevents other clients from modifying Application object properties.
Application.Unlock() METHOD. The Unlock method allows other clients to modify Application object properties.
Server.ScriptTimeout() PROPERTY. The amount of time that a script can run before it times out.
Server.CreateObject(progID) METHOD. Creates an instance of a server component.
Server.HTMLEncode(string) METHOD. Applies HTML encoding to the specified string.
Server.MapPath(Path) METHOD. Maps the specified virtual path, either the absolute path on the current server or the path relative to the current page, into a physical path.
Server.URLEncode(string) METHOD. Applies URL encoding rules, including escape characters, to the string.
Session.Contents() COLLECTION. Contains the items that you have added to the session with script commands.
Session.StaticObjects() COLLECTION. Contains the objects created with the [OBJECT] tag and given session scope.
Session.CodePage() PROPERTY. The codepage that will be used for symbol mapping.
Session.LCID() PROPERTY. The locale identifier.
Session.SessionID() PROPERTY. Returns the session identification for this user.
Session.Timeout() PROPERTY. The timeout period for the session state for this application, in minutes.
Session.Abandon() METHOD. This method destroys a Session object and releases its resources.
# shortcuts
rs.Fields(name) COLLECTION. Gets the value of a field
rs.Close() METHOD. Closes an open object and any dependent objects.
rs.Move(NumRecord, Start) METHOD. Moves the position of the current record in a Recordset object
rs.MoveFirst() METHOD. Moves to the first record and makes that record the current record.
rs.MoveLast() METHOD. Moves to the last record and makes that record the current record.
rs.MoveNext() METHOD. Moves to the next record and makes that record the current record.
rs.MovePrevious() METHOD. Moves to the previous record and makes that record the current record.
rs.Open(Source, ActiveConnection, CursorType, LockType, Options) METHOD. Opens a cursor.
rs.AbsolutePage() PROPERTY. Specifies in which page the current record resides.
rs.AbsolutePosition() PROPERTY. Specifies the ordinal position of a Recordset object’s current record.
rs.ActiveConnection() PROPERTY. Indicates to which Connection object the specified Command or Recordset object currently belongs.
rs.BOF() PROPERTY. BOF indicates that the current record position is before the first record in a Recordset object.
rs.Bookmark() PROPERTY. Returns a bookmark that uniquely identifies the current record or sets the current record to the record identified by a valid bookmark.
rs.CacheSize() PROPERTY. Indicates the number of records from a Recordset object that are cached locally in memory.
rs.CursorLocation() PROPERTY. Sets or returns the location of the cursor engine. (adUseClient, adUseServer)
rs.CursorType() PROPERTY. Indicates the type of cursor. (adOpenForwardOnly, adOpenKeyset, adOpenDynamic, adOpenStatic)
rs.EditMode() PROPERTY. Indicates the editing status of the current record. (adEditNone, adEditInProgess, adEditAdd)
rs.EOF() PROPERTY. EOF indicates that the current record position is after the last record in a Recordset object.
rs.Filter() PROPERTY. Indicates a filter for data. (adFilterNone, adFilterPendingRecords, adFilterAffectedRecords, adFilterFetchedRecords)
rs.LockType() PROPERTY. Indicates the type of locks placed on records during editing. (adLockReadOnly, adLockPessimistic, adLockOptimistic, adLockBatchOptimistic)
rs.MarshalOptions() PROPERTY. Indicates which records are to be marshaled back to the server. (adMarshallAll, adMarshallModifiedOnly)
rs.MaxRecords() PROPERTY. Indicates the maximum number of records to return to a Recordset from a query. (Long, 0 = no limit)
rs.PageCount() PROPERTY. Indicates how many pages of data the Recordset object contains.
rs.PageSize() PROPERTY. Indicates how many records constitute one page in the Recordset.
rs.RecordCount() PROPERTY. Indicates the current number of records in a Recordset object.
rs.Source() PROPERTY. Indicates the source for the data in a Recordset object (Command object, SQL statement, table name, or stored procedure).
rs.State() PROPERTY. Describes the current state of an object. (adStateClosed, adStateOpen)
rs.Status () PROPERTY. Indicates the status of the current record with respect to batch updates or other bulk operations.
cmd.Parameters() COLLECTION. All the Parameter objects of a Command object. (Append, Delete, Item, Refresh)
cmd.Properties() COLLECTION. All the Property objects for a specific instance of an object. (Item, Refresh)
cmd.CreateParameter(Name, Type, Direction, Size, Value) METHOD. Creates a new Parameter object with the specified properties.
cmd.Execute(RecordsAffected, Parameters, Options) METHOD. Executes the query, SQL statement, or stored procedure specified in the CommandText property.
cmd.ActiveConnection() PROPERTY. Indicates to which Connection object the specified Command or Recordset object currently belongs.
cmd.CommandText() PROPERTY. Contains the text of a command that you want to issue against a provider.
cmd.CommandTimeout() PROPERTY. Indicates how long to wait while executing a command before terminating the attempt and generating an error.
cmd.CommandType() PROPERTY. Indicates the type. (adCmdText, adCmdTable, adCmdStoredProc, adCmdUknown)
cmd.Name() PROPERTY. Indicates the name of an object.
cmd.Prepared() PROPERTY. Indicates whether or not to save a compiled version of a command before execution.
cmd.State() PROPERTY. Describes the current state of an object. (adStateClosed, adStateOpen)