473,570 Members | 2,776 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

read a .cgi file

hsn
237 New Member
hello everyone.
i am trying to read a .cgi fiile. but, it is not working with me. let me explain.
i have a belkin router, and i am studying it, when i enter the password in runs a passwordprocces s.cgi i am trying to read that file so i can understand the system and write a program which will help the user to be able to configure the system much easier.

regards
hsn
Aug 28 '08 #1
9 6735
KevinADC
4,059 Recognized Expert Specialist
Saying "its not working" is like calling your automobile mechanic on the phone and telling him "My car is not working, whats wrong with it?". He will tell you to bring your car into the shop.
Aug 28 '08 #2
hsn
237 New Member
Saying "its not working" is like calling your automobile mechanic on the phone and telling him "My car is not working, whats wrong with it?". He will tell you to bring your car into the shop.
i am not what is wrong with it i am asking how to read it so i don't have to bring my car.

regards
hsn
Aug 28 '08 #3
nithinpes
410 Recognized Expert Contributor
i am not what is wrong with it i am asking how to read it so i don't have to bring my car.

regards
hsn
Let us know what you have tried so far. Post your code so that someone may analyze it and let you know what is wrong.
Aug 28 '08 #4
KevinADC
4,059 Recognized Expert Specialist
i am not what is wrong with it i am asking how to read it so i don't have to bring my car.

regards
hsn
I do not know what you mean by "how to read it". I appreciate this might all be very new to you, and maybe English is not your first language, but I assume you are smart enough to know that nobody can help you unless you provide more information. Your code and any error messsages it produces when you run it would be a good starting point (bring your car into the shop).
Aug 28 '08 #5
KevinADC
4,059 Recognized Expert Specialist
After looking over some of your past posting history, I decided I no longer want to help you. You ask questions and other people take the time to respond and you never reply back. I prefer to not help people that do that. That is my own policy and not the policy of this website.

Best regards,
Kevin
Aug 28 '08 #6
hsn
237 New Member
After looking over some of your past posting history, I decided I no longer want to help you. You ask questions and other people take the time to respond and you never reply back. I prefer to not help people that do that. That is my own policy and not the policy of this website.

Best regards,
Kevin
thanks for clearing this issue with me
sometimes i do forget to reply but it is only cause the presure which i am in. i even try sometime when i am free to post replies and questions to learn and for sure to get above 1000 replies

regards
hsn
Aug 28 '08 #7
hsn
237 New Member
hey guys.
what i ment by read the .gci file, is simply open it as you open a word document (double click on the document's icon). that is what i want. i don't know the basic rules of perl , i don't know anything about it. that is why i came here i just wanted to know if i can read it as i read a word document. because there is a router which i have executes a cgi file to complete a certain function. i wanted to know what is that cgi is doing. what i know that is for sure that cgi uses a post command to send the data to the router i just wanted to know what does that command includes.
thanks
hsn
Aug 28 '08 #8
FLEB
30 New Member
When you access the address, your router is running the code and giving you the results. From the browser-side, this is the only access you will usually have. You need to find some way of pulling files off of the router, such as FTP or TFTP, in order to view them in their unprocessed state.

This is an unusual way of using the router, and it may not be possible to do it. The specific way of getting the raw files depends on the specific type of router you are trying to use. You could possibly find more information or specific help on router "hacking" messageboards or groups.
Aug 28 '08 #9
numberwhun
3,509 Recognized Expert Moderator Specialist
hey guys.
what i ment by read the .gci file, is simply open it as you open a word document (double click on the document's icon). that is what i want. i don't know the basic rules of perl , i don't know anything about it. that is why i came here i just wanted to know if i can read it as i read a word document. because there is a router which i have executes a cgi file to complete a certain function. i wanted to know what is that cgi is doing. what i know that is for sure that cgi uses a post command to send the data to the router i just wanted to know what does that command includes.
thanks
hsn
If you can see the file, then why not just open it up with your favorite text editor (vim on Unix or Wordpad on Window$)?
Aug 29 '08 #10

Sign in to post your reply or Sign up for a free account.

Similar topics

10
5308
by: Yang Li Ke | last post by:
Hi guys! I have some datas that I must check everytime a visitor comes to my site What is better to do: 1- Read data from a file or 2- Read data from a mysql db Thank you
10
2268
by: ZafT | last post by:
Thanks in advance for any tips that might get me going in the right direction. I am working on a simple exercise for school that is supposed to use read to read a file (about 10 MB). I am supposed to change the buffer size and see how this affects the read time. In other words, the buffer is supposed to limit how much of the file gets...
1
6731
by: cnu | last post by:
My program generates a log file for every event that happens in the program. So, I open the file and keep it open till the end. This is how I open the file for writing: <CODE> public CLogHandler() { this.m_fsLog = new FileStream(strTodaysLogFile, System.IO.FileMode.Append, System.IO.FileAccess.Write, System.IO.FileShare.Read);...
4
2724
by: ESPN Lover | last post by:
Below is two snippets of code from MSDN showing how to read a file. Is one way preferred over the other and why? Thanks. using System; using System.IO; class Test { public static void Main()
8
23894
by: a | last post by:
I have a struct to write to a file struct _structA{ long x; int y; float z; } struct _structA A; //file open write(fd,A,sizeof(_structA)); //file close
5
3290
by: lovecreatesbea... | last post by:
The condition at line 31 is added to check if the program finished to read the whole file. Is it needed and correct? Thank you. #include <fstream> #include <iostream> #include <string> using namespace std; int read(string filename, int last_pos) {
0
5764
by: lovecarole | last post by:
hi, i am the student who should write a program about reading wav file and do the DFT. actually i don't know how to read data of the wav song and save it into the array... if i want to read 17640 every times., and i set byte read=new byte, i have the wav format paper, but i don't know how to read the data correctly into the byte array,...
6
32852
by: Thomas Kowalski | last post by:
Hi, currently I am reading a huge (about 10-100 MB) text-file line by line using fstreams and getline. I wonder whether there is a faster way to read a file line by line (with std::string line). Is there some way to burst read the whole file and later "extract" each line? Thanks in advance, Thomas Kowalski
9
7374
by: flebber | last post by:
I was working at creating a simple program that would read the content of a playlist file( in this case *.k3b") and write it out . the compressed "*.k3b" file has two file and the one I was trying to read was maindata.xml . I cannot however seem to use the gzip module correctly. Have tried the program 2 ways for no success, any ideas would be...
2
5442
by: Kevin Ar18 | last post by:
I posted this on the forum, but nobody seems to know the solution: http://python-forum.org/py/viewtopic.php?t=5230 I have a zip file that is several GB in size, and one of the files inside of it is several GB in size. When it comes time to read the 5+GB file from inside the zip file, it fails with the following error: File "...\zipfile.py",...
0
7724
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main...
0
7633
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language...
0
7944
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. ...
0
8149
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that...
1
7699
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For...
0
6323
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then...
1
5523
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes...
0
3681
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in...
0
3671
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.