Upload An Executable File Disguised As Gif Or Jpg

If I allow people to upload GIF or JPG files on my site, is there a technical possibility to upload an executable file disguised as gif or jpg and execute it on my server?

View Replies


ADVERTISEMENT

Adding Executable (.exe) To Html File

i am using frontpage 2003. I have an image that I have sliced in Photoshop, saved as an html and opened it with FP2K3. What I would like to do is find a way to add a .cmd or .exe or .bat file to a section of the html code. Can this be done?

What I am trying to do is pick either a hotspot or hyperlink and embedd the executable, so that when picked it runs. all it is really doing is rdp'ing to a session on the server.

View Replies View Related

How To Call A COM Executable File From ASP File?

i am using vbscript in ASP and i wanted to call a COM executable file from that ASP file.
i would like to know the ways how to approach this problem.

i have read the articles given in
http://support.microsoft.com/defaul...kb;en-us;299714 and
http://msdn.microsoft.com/library/d...comtutorial.asp

i found those 2 pages were not 100% helpful for me as i am not using Visual Basic to create COM executable. i would like to see some examples or some other tutorials explaining the above question.

View Replies View Related

Upload Excel With Macros Using HTML File Upload

We face problems uploading excel (with macros) documents using HTML
File Upload.

The file contents are corrupted while viewing the same. However, we
are able to upload excel (w/o. macros) documents successfully. Is
there anything we have to take care of, while handling uploads of
excel documents with macros?

View Replies View Related

File Upload - Need To Check File Size

I'm having a problem with the fact that I want to allow image files to be uploaded to a remote web server, as the hosting package the web site is on is IIS6 and has a default file upload size limit of 200kb. As it's a shared hosting package, the default limit cannot be changed for me unfortunately.

Anyway - i need to check the size of the file being uploaded, so i can notify the user and prevent them getting the default Microsoft error message page. The problem is that I can't implement a server side size check which works, using either Request.TotalBytes or load.getFileSize (with "load" being an object of my loader class). It seems that I can't carry out any of these operations when the file size is too large.

View Replies View Related

Upload File To Server And Get File Properties

I would like to add a facility to my web page which allows users to upload basic files (word, excel, text, gif, jpg etc) to the server.

I know there's a facility to do this using HMTL forms, but I don't know how to handle the file on the server side.

What I think I need is an ASP file running some code to manipulate the filesystemobject, allowing me to receive the file and store it in the filesystem on the server. It would be nice to access some of the file properties too (name, type etc).

I've seen a few custom components online which allow you to do this, but I can't depend on installing them. I need to be able to script it myself.

View Replies View Related

ASP File Upload - Limit File Types?

I would like to use this code on my website to allow simple file uploads from clients. I would like to restrict the file types they can upload. Code:

View Replies View Related

Calling An Executable

I am working on a legacy application written in Classic ASP with VB6 COM+ components running on Windows 2003 Adv Server (32bit). There is one page in the app that uses Secure FTP to send a file to another application server upon a certain type of data change.

Anonymous user posts the form - ASP code instantiates the COM+ component which is starting using a Domain User -Calls a method that creates the comma delimited data file and then calls the SFTP method.

View Replies View Related

Asp & Local Executable

i'd like to know if it is possible with asp to launch a local application (exe file like word or any else).

View Replies View Related

Launch Executable

I'd like to launch an executable file from a web page. Basically, the user
enters seven parameters and then clicks a button to generate a graph. The
input is written to a file and then read by the exe. The exe then generates
a graph based upon the input parameters.

I am reading about the Process class and wondering if that is the best
approach to this. Can you recommend a KB article?

View Replies View Related

Running An Executable

my questions are

1. How do I execute a program using asp (any scripting language), without the user taking any action.

2. To close the program (written in VB6) do I include something in the program itself, or do I close it w/ asp?

View Replies View Related

Compliling ASP Project Into Executable

I am deploying many ASP apps and many of them are onto client internal
servers. I was wondering if there was an option to compile my entire ASP
project into an installation executable for easy deployment?

View Replies View Related

ASP/IIS Communicating With A VB Based Executable On The Webserver.

I am test developing an internal webserver, on Windows XP, and IIS 5.1, with
ASP and MySQL.

One specific page is created from user input and database records in
previous pages and presents a page with customised data and a webform. It
then takes input from the form and session variables and passes these to an
vb exe in the the wwwroot using the from

http://localhost/example.exe?testparameters. The vb exe takes the command
line parameter input and does its thing and it all works, but I am aware
this is a very insecure way of doing this and I implemented this only as a
quick workaround so I could test implement it all then refine it for
deployment.

My question is, what is the best way for input to be passed from a web form
to an vb executable for it to do its thing. The exe will eventually
preferably run as a service, or at least all ways be active on the server,
and not starting for every request then ending, as I was hoping to allow for
sorting and queueing of requests passed to the exe, before they are
executed. Code:

View Replies View Related

Oshell. And Running A Executable Via VBscript

what is the best way to run a file via vbscript. lets say I have a exe or batch file and I want to run it. how? and then.. how do I do this... Code:

var oShell = new ActiveXObject("Shell.Application");
...in vbscript?

View Replies View Related

Server Side Executable Fails

I am attempting to have an asp page call a batch file. I had it working, I was high on life and then I decided to log off the server. Once I did, the code would no longer work. When I logged back onto the server, I saw:

'The application failed to initialize properly (0xc0000142). Click on OK to terminate the application.' Code:

View Replies View Related

How Could I Run An Executable Through A Web Browser With A Simple Click And Execute..

How could I run an executable through a Web Browser with a simple click and execute interface?

View Replies View Related

How To Upload File In Asp.

I'm working on a asp-application where I shall upload a xml-file from the
user, and then process til file (xml) for insert into a database. I'm currently
using a "INPUT-field of TYPE=file" to browse for file, and a extra submit button
to perform the actual transfer and start file-processing.

Is it possible to show the user one ebutton "IMPORT" without any text-field
associated with it, which browses for the file and directly startes the
upload to server and triggers file-processing. The actual processing of the file
must be done on the server-side (inserts to db etc.).

View Replies View Related

PDA, File Upload

Is it possible to upload files using <INPUT type="file"> tag from IE on PDA .

View Replies View Related

Ftp File Upload In Asp

when i load the page nothing happens, it just refreshes to a blank page. does this page need to be named something special? does it need to be on the same server it's uploading to? Code:

View Replies View Related

Upload File Bat

Whit ASP upload procedure i charge to a server files with different extensions.

But if you want to download a file with the extension ".Bat" ( for example execute.bat ) the browser returns:

The page can not be found. The page you are looking for might have been removed, had its name changed, or is temporarily unavailable.

The path to the file execute.bat is exactly and this file execute.bat is located on the server.....

View Replies View Related

How File Upload ASP

Where can i find information on how to upload files to a folder on my server using asp code and a form? Does anybody have a simple snip of code for this that they would mind sharing?

View Replies View Related

XML File Upload

Could someone point me in the right direction for an asp script that would save an XML file to a folder on the same server it resides on?
This XML file will be sent from another application and the asp script needs to accept the XML file (no validation of the XML in the file is required) and save it to a folder on the server.
I've seen scripts with a web frontend which requires user interaction where the user has click a browse button and select the file to be uploaded from their local machine. The script I require will have no user interaction - the XML file will just be fired at the script from the other application and it should save it to a folder on the server.

View Replies View Related

I Need To Upload A PDF File

i need a piece of code which enables my to upload a PDF file into the server hard disk....im using ASP to develope my website....

View Replies View Related

Upload File Using Asp

I have to do something like this that a user see list of record if he would find record and want to upload that list then he could upload in a pdf file of that record.

View Replies View Related

Upload Jpg File

I'm looking for some ASP code that will allow a user at my website to upload a jpg. image from his or her harddrive to my website or just to mail it to me via email.

View Replies View Related

File Upload From IE

I want to build file upload functionality that, when user clicks on a link, a file browse box pops up and allow the user to select a file and upload it. Is this supported by IE at all? If yes, could someone send me a simple example?

View Replies View Related

Upload File

Im trying to upload files to my website, my write permissions folder is /db, but when I try to upload some file, Directory does not exists shows up. What could be the problem?
My code:

View Replies View Related

Upload A File

how can I copy a file that is in one folder of the site such as /data/ to another folder, like / ?

View Replies View Related

Upload Doc File

I want to upload a doc file to email form and want to send to my email adress. Anybody have idea how can I upload a doc file into a form and send it as attachment to my email address.

View Replies View Related

Upload File .dbf

How can I Upload one file .dbf to SQL SERVER, I can't not get path where file .dbf store because it store in pc client and I don't want copy it to Server.

View Replies View Related

File Upload

i want to know about file upload problem in my asp application. how to upload file from the user to my project path (example c: ewsimage)

View Replies View Related

Upload Doc File

I have written a script to upload the file. The script can upload txt, rtf file. However, when I try to upload doc file, the file cannot open, or just decode as a rubbish. Do you have any idea about this problem?

View Replies View Related

Upload An Image To File

I've been trying for a while now to write a page that uploads an image to a file.

Does anyone have a really simple example that I can start with. I have searched the net but only found complicated examples.

View Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved