Nmap Development mailing list archives

Re: Privilege checks in broadcast-* scripts


From: Kris Katterjohn <katterjohn () gmail com>
Date: Sun, 15 Jan 2012 13:38:10 -0600

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On 01/15/2012 01:05 PM, Patrik Karlsson wrote:

    > So, in regards to the is_privileged checks, let's keep the checks in the
    > prerule until we find a general way to report errors back to the user
    without
    > cluttering the XML reports? There might be one or two more scripts that need
    > the change in that case.

    That's cool, if you also mean without cluttering the normal output, too.  If
    this just means still using my rootfail solution, then that's fine, as long as
    every script on every host doesn't needlessly give me the same error message.


I ment the normal output too, AFAIK script output ends up in both, right?
The rootfail solution is fine with me, we only discussed to take it out of the
prerule where it's redundant.
 

Sorry if I was confusing, I was in a hurry.  I was just making a general
statement because I don't know how the error reporting stuff will be done for
NSE, and it may or may not be in just the regular script output (or at least
this is what I've thought of when thinking about it).  So yeah, if the error
stuff just gets put in the regular script output then it should all the same.


Cheers,
Patrik

Cheers,
Kris Katterjohn

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.11 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iQIcBAEBAgAGBQJPEysfAAoJEEQxgFs5kUfu7o4QAIDzUaJKPfXnktd/z7BDK0zS
hZGwdb22PCWPx4wR+qDRai4Jtw2uatDobd+mb4tRgknCTcXXUn0k6uJVMdOScLBw
uZ/3rP1iPAhXwg0OBuRCQ2vJ31qqRl400IRpzcjvq/Qbid5y5fOGMvWGnpQ/MN+f
CYUdQvGfzKu1uBPbCl1xMCE2GbWxaDbDdUDI/WgmN7F8CGp+VrU4PchP/mj/djJD
ue48AhtRJJgPZYUNHy985sKQMl2ao+PcCx7oJf09Y2anjmPMuSaT+7ikKjo76Oh1
R7dSDzN9PQNi9uWKEj0hOrpVd9hGgXsZVqnrNDsVPAkYNdms5a/OzZJvpl7LiAeP
vE7Xb1O92CqosKpv1rAhmASHzwodd2fT0FUL6pA2nDTMYlQD4w95U7+xBLzG56Uu
bTHiu6c8C1GeR1gNbi9zFgVlkok5mnI+5r0TCSRE7O8AYIQdWeFI8P+POE0XGGqi
4MoCc1MxOcUiCOGm+6uelTKCW6Pdgf4u/tOOsRvUxCAOso9R5rsaggffREvyh3er
uyvCXKZ3KDYTai8haCrtwguo/fWeqf5u0aPMBypzRxFkZzzqNBoamzVZmM+rvL8x
qWOXYBHdzQs1QnEJurwcSsqTuPjCCKm9LIqv8PshHh7N0NUHMhWboYDMlnLfPtf1
SeJiJFAM+mbP4Ha9fegu
=AtPx
-----END PGP SIGNATURE-----
_______________________________________________
Sent through the nmap-dev mailing list
http://cgi.insecure.org/mailman/listinfo/nmap-dev
Archived at http://seclists.org/nmap-dev/


Current thread: