Commit Graph

64 Commits

Author SHA1 Message Date
Přemysl Eric Janouch c420e3ce86
Fix plugin search path on Nix
Even its non-full GNUInstallDirs paths are absolute,
which is apparently allowed.
2023-06-29 02:25:23 +02:00
Přemysl Eric Janouch 8d7a055b08
Set an upper limit on concurrent FDs
I don't have the time nor will to look into it properly.
2021-07-06 17:25:54 +02:00
Přemysl Eric Janouch 4be24e17c3
Bump minimum CMake version and termo
And some related cleanup or unification.
2020-10-29 16:48:00 +01:00
Přemysl Eric Janouch 338dff4ade
Name change 2020-09-28 04:55:23 +02:00
Přemysl Eric Janouch 6fa5c8daaa
Relicense to 0BSD, update mail address
I've come to the conclusion that copyright mostly just stands in the way
of software development.  In my jurisdiction I cannot give up my own
copyright and 0BSD seems to be the closest thing to public domain.

The updated mail address, also used in my author/committer lines,
is shorter and looks nicer.  People rarely interact anyway.
2018-06-24 05:11:10 +02:00
Přemysl Eric Janouch 87f70c1813
Bump liberty 2018-06-24 05:10:23 +02:00
Přemysl Eric Janouch f42099e79c
Bump liberty, cleanup 2017-06-07 21:06:40 +02:00
Přemysl Eric Janouch 84bb8e78fc
Add a clarifying comment 2017-05-06 21:03:03 +02:00
Přemysl Eric Janouch 38a1214af1
Use readdir instead of readdir_r
To eliminate compiler warnings, we're single-threaded anyway.
2017-01-29 21:04:50 +01:00
Přemysl Eric Janouch 5825d1b218
Bump liberty 2017-01-23 23:56:08 +01:00
Přemysl Eric Janouch 5570898aca
Fix OpenSSL 1.1 compatibility 2017-01-01 16:57:43 +01:00
Přemysl Eric Janouch 5f5d58b3da Bump liberty 2016-03-14 21:25:02 +01:00
Přemysl Eric Janouch 268a359cf4 Bump liberty
Pulling in kqueue support.
2015-08-06 21:14:19 +02:00
Přemysl Eric Janouch 871ae9be8e Hide the indicator while printing info messages 2015-06-27 22:07:52 +02:00
Přemysl Eric Janouch de4009fb4d Aborting units -> stopping units 2015-05-13 06:57:06 +02:00
Přemysl Eric Janouch b2cc2709c6 Add an option to list all services 2015-05-13 06:49:16 +02:00
Přemysl Eric Janouch 30997471e7 Use getservbyname() on undetermined ports 2015-05-13 06:31:20 +02:00
Přemysl Eric Janouch 7954f504a6 Get rid of "All rights reserved" 2015-05-13 06:10:44 +02:00
Přemysl Eric Janouch 144b8f9c58 Print undetermined services 2015-05-13 05:56:31 +02:00
Přemysl Eric Janouch debebcde96 Don't initialize the transport immmediately
Do it only once we're actually connected.
2015-05-13 04:34:25 +02:00
Přemysl Eric Janouch ef8dd33edd Use bold mode instead of standout 2015-05-13 04:05:33 +02:00
Přemysl Eric Janouch 2e44af621d Move to liberty 2015-02-28 21:57:57 +01:00
Přemysl Eric Janouch 68627ddb5e Don't die if the terminal cannot be detected 2015-02-22 20:49:31 +01:00
Přemysl Eric Janouch 8de88140f5 Fix resource leak 2015-02-14 08:37:41 +01:00
Přemysl Eric Janouch eb0f8a028c Implement a Lua 5.3 plugin loader plugin
Also implemented SOCKS detection in said language.

There are probably going to be some bugs.

The program is no longer Valgrind-clean, as that would require plugin
deinitialization, in which there is very little point.
2015-01-18 04:14:45 +01:00
Přemysl Eric Janouch 7cb6fcdaff Rewrite to use CMake
Now the project is at least installable.

Added a LICENSE file.

Likely about to implement Lua plugins.
2015-01-17 16:10:12 +01:00
Přemysl Eric Janouch 4810b37b29 -Wpedantic/scan-build stuff 2014-09-26 21:32:16 +02:00
Přemysl Eric Janouch 3ecf06ba46 Fix subnet targets 2014-09-26 21:32:16 +02:00
Přemysl Eric Janouch 31bb98c995 The targets are not always hostnames
If a target specified on the command line equals its IP address string,
don't put the string as a hostname in the results.
2014-09-26 21:32:16 +02:00
Přemysl Eric Janouch 9f6a98d540 Fix the indicator 2014-09-25 22:37:20 +02:00
Přemysl Eric Janouch 55648e3f3b Fix hiding the indicator 2014-09-25 00:33:03 +02:00
Přemysl Eric Janouch 49e7f1798e Get rid of some memory holes on x86_64 2014-09-24 20:28:18 +02:00
Přemysl Eric Janouch 21cab71e75 Fix the epoll poller
Setting the fd to -1 broke poller_remove_from_dispatch().
2014-09-24 19:03:45 +02:00
Přemysl Eric Janouch 50e27cf3d8 Order the results by port 2014-09-24 18:59:55 +02:00
Přemysl Eric Janouch bdb3b9b959 Identified a hot-spot 2014-09-24 00:20:20 +02:00
Přemysl Eric Janouch 53b717c454 Avoid spinning in a loop
This also helps reduce a lot of noice in strace.
2014-09-24 00:11:44 +02:00
Přemysl Eric Janouch 1f9f9b9a39 Simplify the plugin API 2014-09-23 22:59:01 +02:00
Přemysl Eric Janouch f9d6627456 Don't initialize the service before connecting 2014-09-23 21:12:40 +02:00
Přemysl Eric Janouch 7ee3bbc86b Fix on_unit_ready()
Got it wrong and lighttpd doesn't have any mercy.
2014-09-23 20:41:47 +02:00
Přemysl Eric Janouch 903f7d128a Show some stats at the end 2014-09-21 03:55:58 +02:00
Přemysl Eric Janouch fa2780a40d Fix the TLS/SSL transport 2014-09-21 03:43:14 +02:00
Přemysl Eric Janouch aeb1012997 Group the output properly
Somehow I must have forgotten about transports at some point.
2014-09-21 03:29:36 +02:00
Přemysl Eric Janouch d18224cc65 Fix terminal output for multiple ports per service 2014-09-21 03:29:36 +02:00
Přemysl Eric Janouch 6542353dae Fix output of results for multiple services 2014-09-21 03:29:35 +02:00
Přemysl Eric Janouch 6c90cc85db Fix the IRC plugin, and not only that 2014-09-21 03:29:35 +02:00
Přemysl Eric Janouch e7d8b244a9 TLS transport: output some certificate information 2014-09-21 03:29:27 +02:00
Přemysl Eric Janouch 82a125a3c3 Fix error message 2014-09-21 01:08:20 +02:00
Přemysl Eric Janouch 2b74a18833 Implement more of the services
- SSH: ready for action
 - IRC: ready for action
 - HTTP: needs some work
2014-09-20 22:03:55 +02:00
Přemysl Eric Janouch b9571ec01f Filter out any garbage in the scan output 2014-09-20 18:28:08 +02:00
Přemysl Eric Janouch 38a0077033 Generate a manpage
help2man should be enough so far.
2014-09-20 18:12:55 +02:00