How can you send a file over Ip.NOT EMAIL


 
Thread Tools Search this Thread
Special Forums Cybersecurity How can you send a file over Ip.NOT EMAIL
# 1  
Old 03-01-2011
How can you send a file over Ip.NOT EMAIL

So I was just wondering... Is there a way to send a file directly to the computer..... Ive never gotten the answer and I want to know how, I keep running in to a wall Smilie. Why you may ask, well really for security reasons due to the fact that if this is done via a port I want to make sure to close it to prevent crackers, black hats and maybe even gray hats.. If their is a way what is the script or commands required? Unix bash shell.
# 2  
Old 03-01-2011
There are many many ways to send a file to a computer, some standardized like FTP and SCP, others proprietary. The easiest way to achieve what you wish to do is to lock down all ports by default except for those ports you specifically permit to be open.
# 3  
Old 03-01-2011
Quote:
Originally Posted by orszhak
So I was just wondering... Is there a way to send a file directly to the computer.
There is no direct way. TCP/IP communication is almost invariably programs on one machine communicating with programs on a different machine (or perhaps the same machine), there's no trapdoors that directly instruct the kernel to do anything to files. The only exceptions that leap to mind are network filesystem drivers, and given the number of hoops you have to jump through to get NFS going on purpose, having it happen by accident seems sincerely unlikely! Not to say that there may not be brain-dead distros that have open NFS by default -- but when it's off, it's off, and isn't going to be nudged into running just because someone bothers your network enough. Same goes for any other system daemon capable of creating files -- someone with administrator access actually has to turn it on. Or, someone on the inside can run something on an anonymous port if you haven't firewalled that, but it'll have no more access than the user does...

What's more likely to happen is an exploitation of mundane things. A badly written CGI script could be abused to create and/or execute files in /tmp. (For this reasons some web servers have hardened /tmp/ partitions that literally cannot execute any files in them.) Or a limited account with a weak password gets cracked and they just live in that tiny corner of your machine, connecting to a botnet and cracking passwords for it. And so on. They don't have to crack your whole system to use you, and a smart cracker won't interfere with the operations of your system lest you notice.

Last edited by Corona688; 03-01-2011 at 11:44 PM..
# 4  
Old 04-12-2011
hello

I don't have any idea regarding It security, I encountered Sinux but Linux don't have any idea yet.. but i am glad to be here i just keep learning.. thanks for the information Smilie)

---------- Post updated at 12:54 PM ---------- Previous update was at 12:47 PM ----------

sorry for my mistake.. i don't have any idea to send a file through using Ip.
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

Remove bad records from file and move them into a file then send those via email

Hi my requirement is that i want pull the bad records from input file and move those records in to a seperate file. that file has to be sent via email.. any suggentions please (1 Reply)
Discussion started by: sxk4999
1 Replies

2. Shell Programming and Scripting

need to zip 2 GB file and send it via email

i want to zip the 2GB file and send it via email from unix machine using uuencode. could you please suggest whether it will possible or not and also command to do it. (3 Replies)
Discussion started by: mail2sant
3 Replies

3. Shell Programming and Scripting

Read file and send email

I have a file like this. I need to ues this file to send emails to the appropriate ID/group. For instance in the first line - Subject should be --> "A1.csv - ABC" - Body should be --> File A1.csv has changed. - Email should be sent to A1@xyz.com,A3@xyz.com Lookup.csv: ... (1 Reply)
Discussion started by: vskr72
1 Replies

4. UNIX for Dummies Questions & Answers

send an email from batch file

My batch files run every day, it moves files from servers to my local computer, can I have a confirmation email sent to me from this batch file saying if the job failed or successes? Thank you for your help! (6 Replies)
Discussion started by: idiazza
6 Replies

5. Shell Programming and Scripting

Send a file through email using cron as an attachment

Hi All, I want to send a file as an attachment through cron job.Is this possible using cronjob nd if it i, can you please let me know how to do this? Thanks (2 Replies)
Discussion started by: NARESH1302
2 Replies

6. Shell Programming and Scripting

Script to send email after comparing the folder permissions to a certain permission & send email

Hello , I am trying to write a unix shell script to compare folder permission to say drwxr-x-wx and then send an email to my id in case the folders don't have the drwxr-x-wx permissions set for them . I have been trying to come up with a script for few days now , pls help me:( (2 Replies)
Discussion started by: nairshar
2 Replies

7. AIX

how to send a file from aix to a email address?

how to send a file from aix to a email address? such as xxx@yahoo.com? (2 Replies)
Discussion started by: rainbow_bean
2 Replies

8. Shell Programming and Scripting

parse the file and send email

Hi Experts, I am writing a script in which i want to parse the file and send the emails to some email-id's. The problem is like this-- I use to get some emails on saturday and sunday's but we do not work on these days. So what i want to do is forward those emails to some email id's. I want... (1 Reply)
Discussion started by: namishtiwari
1 Replies

9. Shell Programming and Scripting

script to send a file in email

a file is created on a daily basis in the name xyz_pqr_20071207.dat.i want to send the file as an attachment if the file contains more than 50 records.how can i write a script such that it will transmit the file after the file is created.i want to sed the file to say asdf@xyz.com. please help me... (2 Replies)
Discussion started by: dr46014
2 Replies

10. Shell Programming and Scripting

how to send contents of a file to email as a message

i have a file new1.txt i want to send the contents of that file as a message to email ali@sms.com i m using ksh script......... plz help me (5 Replies)
Discussion started by: ali560045
5 Replies
Login or Register to Ask a Question