Sponsored Content
Top Forums Shell Programming and Scripting Need Help with a Shell Script for a Job Post 302987612 by gandolf989 on Tuesday 13th of December 2016 09:44:59 AM
Old 12-13-2016
If this is really Linux, and you treat the file like text and not an executable, and if this is not homework, you should not need to scan the file with any antivirus software, since none of the ASCII in the inbound files should get executed.

If you are doing this for a class, and if you are doing this on Windows and if you professor requires you to scan the file with antivirus, then you should definitely use Powershell. You can use winzip, or some other compression tool for your encryption. but Powershell is likely to be the easiest tool to interact with McAfee Antivirus.

And follow the homework rules!!!!

Smilie

Last edited by rbatte1; 12-13-2016 at 10:48 AM.. Reason: Changed winkie ;-) to ;) to show image
This User Gave Thanks to gandolf989 For This Post:
 

10 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

Multiple instances of the job in shell script.

Hi, Please let us know how to create a multiple instances of a job in the shell script. Thanks. Gangegowda K.G (1 Reply)
Discussion started by: Gangegowda
1 Replies

2. Shell Programming and Scripting

Cron job shell script..

Hey Guys, i was trying out a shell script which has to remove a file for every 90 mins. this is the code i came up with . $ crontab -e file1 file1 contains 30 1 * * * * rm -r /folder1/folder2/somefile.txt Now i need the cron to run for every 90 mins. the problem with this is... (8 Replies)
Discussion started by: Irishboy24
8 Replies

3. Shell Programming and Scripting

Adding a job to crontab via shell script

Is it possible to add a job to crontab with a shell script? The existing jobs in the crontab should exist as it was. The new job should be appended. Also, the crontab file is /var/spool/cron/root. (1 Reply)
Discussion started by: proactiveaditya
1 Replies

4. UNIX for Dummies Questions & Answers

Job Status for running shell script

Hello, I am running a shell script whose execution often takes several hours to complete. Is there way I can get some kind of status update as the job is running? Something as simple as the start and the current time stamp. Thanks, Gussi (2 Replies)
Discussion started by: Gussifinknottle
2 Replies

5. Shell Programming and Scripting

I need to do a work to my job, but i m new in script shell, someone can help with this..

I need to do a work to my job, but i m new in script shell, someone can help with this.. :confused: Description Bsafe The command creates a backup directory of each month at the command line (arguments of the script). The names of directories to copy will always be specified for the... (4 Replies)
Discussion started by: strshel
4 Replies

6. Solaris

Shell Script gives error when run through cron job.

Hi, The following shell script runs without any problem when executed manulally. USED=$(df -h /arch | tail -1 | awk '{print $5}' | cut -d '%' -f 1) if then find /arch/AUBUAT/ -type f -mtime +0 | xargs rm find /arch/AUBMIG/ -type f -mtime +0 | xargs rm fi But the same gives below... (6 Replies)
Discussion started by: ksadiq79
6 Replies

7. UNIX for Dummies Questions & Answers

cron job for the created shell script

Hi am newbie for unix shell.. how to create a cron job for my already created shell script.:confused: Thanks! (1 Reply)
Discussion started by: vidhyaS
1 Replies

8. Shell Programming and Scripting

Exit Shell Script with background job

Hi all, I am trying to exit a shell script (c shell) while invoking a job (service) that must run in the background: ...... /mydir/runservice & exit ...... There are downstream jobs and scripts that need to be run, but they all 'wait' for the script to exit. The script 'hangs' and... (3 Replies)
Discussion started by: CKT_newbie88
3 Replies

9. UNIX for Dummies Questions & Answers

Shell script - Finding Autosys job status

Hi, There are 2000 jobs in the list and i need to draw their status. I put all the jobs in the list and trying to read one by one from the list and to find out the status. Help me out in correcting the script. #!/bin/csh for a in $(cat Jobs_List.txt); do source <<path>> autorep -j $a... (1 Reply)
Discussion started by: venkatesht
1 Replies

10. Shell Programming and Scripting

How to put the multiple job on-hold using shell script?

Hi.. I need to put multiple jobs on ON HOLD in Autosys.. please help me on this. For Example: 1)ABCD_EFGH_IJKL 2)abcd_efgh_ijkl (2 Replies)
Discussion started by: Maanjesh
2 Replies
netdiscover(8)							   User Commands						    netdiscover(8)

NAME
netdiscover - an active/passive arp reconnaissance tool. SYNOPSIS
netdiscover [-i device] [-r range | -l file | -p] [-s time] [-n node] [-c count] [-f] [-d] [-S] [-P] [-L] DESCRIPTION
netdiscover is an active/passive arp reconnaissance tool, initialy developed to gain information about wireless networks without dhcp servers in wardriving scenarios. It can also be used on switched networks. Built on top of libnet and libpcap, it can passively detect online hosts or search for them by sending arp requests. Furthermore, it can be used to inspect your network's arp traffic, or find network addresses using auto scan mode, which will scan for com- mon local networks. OPTIONS
-i device The network interface to sniff and inject packets. If no interface is specified, first available will be used. -r range Scan a given range instead of auto scan. Valid range values area for example: 192.168.0.0/24, 192.168.0.0/16 or 192.168.0.0/8. -l file Scan ranges contained on the given file, it must contain one range per line. -p Enable passive mode. In passive mode, netdiscover does not send anything, but does only sniff. -s time Sleep given time in milliseconds between each arp request injection. (default 1) -c count Number of times to send each arp request. Useful for networks with packet loss, so it will scan given times for each host. -n node Last ip octet of the source ip used for scanning. You can change it if the default host is already used. (allowed range: 2 to 253, default 66) -S Enable sleep time suppression between each request. If set, netdiscover will sleep after having scanned 255 hosts instead of sleep- ing after each one. This mode was used in netdiscover 0.3 beta4 and before. Avoid this option in networks with packet loss, or in wireless networks with low signal level. (also called hardcore mode) -f Enable fast mode scan. This will only scan for .1, .100 and .254 on each network. This mode is usefull while searching for ranges being used. After you found such range you can make a specific range scan to find online boxes. -d Ignore configuration files at home dir, this will use defaults ranges and ips for autoscan and fast mode. See below for information about configuration files. -P Produces output suitable to be redirected into a file or be parsed by another program, instead of using interactive mode. Enabling this option, netdiscover will stop after scanning given ranges. -L When using -P, continue program execution after the active scan phase to capture ARP packets passively. USAGE
If passive mode (-p), scan list (-l) or scan range (-r) options arent enabled, netdiscover will scan for common lan addresses. Screen control keys h Show help screen j Scroll down (or down arrow) k Scroll up (or up arrow) a Show arp replys list r Show arp requests list q Close help screen or end application CONFIG FILES
There are 2 configuration files that netdiscover will look for, each time it is executed, if file doesnt exist it will use default values. You can use the -d switch to disable reading and loading configuration files. ~/.netdiscover/ranges This file contains a list of ranges (one per line) used for auto scan mode instead of default ranges. By default netdiscover will use a list of common ranges used on local networks. Example: 192.168.21.0/24 172.26.0.0/16 10.0.0.0/8 ~/.netdiscover/fastips List contaning the last octect of the ips to be scanned on each subnet, when using fast mode, by default (1,100,154). Example: 1 10 25 254 AUTHOR
netdiscover was written by Jaime Penalba Estebanez. This manual page was originaly written by Nicolas Weyland, for the Debian project. This man page has been merged into netdiscover project, and modified from the original. netdiscover February 2006 netdiscover(8)
All times are GMT -4. The time now is 04:21 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy