Friday, April 19, 2013

How can I use hping3 to do a port scan?

Q. When I used Hping3 in linux or windows it can only scan a localhost. Is it possible to scan a remote network? What is the Linux and Windows terminal command for portscanning remote networks?

A. There's no universal program for scanning networks. The best tool to do this from a command line would probably be nmap. nmap is not included with Windows and is not standard in all Linux distributions, but is available in most repositories.

http://nmap.org/download.html

How do I upload a folder recursively via SSH through a linux terminal?
Q. The problem is quite simple actually. I have a folder in my desktop which I want to be able to upload to my server via SSH. I want to be able to do that using only the linux terminal. Thanks
I don't know about import/export functions. I just want to upload via SSH. I know it's possible, I just don't know how.

A. See the SCP command (syntax in source link). It copies files over ssh. As you can see, it has an option to put an entire folder over at once.

Alternatively, there's SFTP (secure-ftp) which tunnels a ftp connection through ssh (valid only if the target server also has ftp service in addition to ssh).

How to modify data on the linux terminal from java?
Q. I am creating a java software on linux ubuntu. I want to to open linux terminal from inside java, set commands to the terminal, execute the commands and then close the terminal. All these by clicking on a button in java. So in short, the user of my application will not need to know any linux commands. In fact my software consists of configuring linux ubuntu 12.04 as server from java.

I want to open the dhcpd.conf file and change its contents based on the user's input, such as changing the pool of ip address based on the user's choice. Any help on how I can do this please? Thank you

A. Ask your linux questions here
http://ubuntuforums.org/



Nec Projector Review

Plastic Shed Reviews

Ati Graphic Reviews

Nurse Uniforms Reviews

Cabochons Reviews

Inflatable Water Slides Reviews

Barcode Scanner Reviews

No comments:

Post a Comment