nixCraft Linux Forum

nixCraft

Linux Tech Support Forum

need some help************

This is a discussion on need some help************ within the Shell scripting forums, part of the Development/Scripting category; i want a script to ping a machine and find its system date.is it possible??.plzzz help....


Go Back   nixCraft Linux Forum > Development/Scripting > Shell scripting

Register FAQ Members List Calendar Mark Forums Read
  #1 (permalink)  
Old 12-19-2007, 02:01 PM
Junior Member
User
 
Join Date: Dec 2007
My distro: Debian
Posts: 1
Rep Power: 0
nayan123 is on a distinguished road
Default need some help************

i want a script to ping a machine and find its system date.is it possible??.plzzz help.
Reply With Quote
Sponsored Links
  #2 (permalink)  
Old 03-16-2008, 01:22 PM
Junior Member
User
 
Join Date: Mar 2008
Location: India
My distro: Debian
Posts: 1
Rep Power: 0
jaduks is on a distinguished road
Default

You need to have ssh configured.

This is how I can get "date" command output of remote host "micky" in my nw

$ ssh root@micky "date"
Sun Mar 16 07:50:25 UTC 2008

//Jadu
Reply With Quote
  #3 (permalink)  
Old 03-24-2008, 09:00 PM
Member
User
 
Join Date: Mar 2008
My distro: Debian, Slackware, LFS
Posts: 83
Rep Power: 1
Tux-Idiot is on a distinguished road
Talking

hping3( - Linux man page
run hping3 with desired switches and flags. unless you alter the TCP fragmentation and makes the IDS spit in the IDS/IPS log files? you should get decent replies. and also if you dont change the fingerprint and packet sync and many more params. IMHO hping3 is used to detect the presence of IDS. and its sweed! real sweed! burst of 100000 ICMP packet burst. oops!

- Test firewall rules
- Advanced port scanning
- Test net performance using different protocols,
packet size, TOS (type of service) and fragmentation.
- Path MTU discovery
- Transferring files between even really fascist firewall
rules.
- Traceroute-like under different protocols.
- Firewalk-like usage.
- Remote OS fingerprinting.
- TCP/IP stack auditing.
- A lot of others.

stupid IRC addiction i got.

debian: aptitude -y install hping3

redhat: yum -y install hping3
p.s. my 2 cents! make sure you know and you have thought many times before doing. (CAN) may be fatal. congrats, as you may end up DDOSing packet freeze many.
Reply With Quote
Reply

Bookmarks


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)

 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


All times are GMT +5.5. The time now is 08:12 AM.


Powered by vBulletin® Version 3.7.2 - Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.2.0

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36