Hi all,
I have started writing a new nessus plugin in nasl.
1. When I run the plugin with nasl (at a command line), I get
"A non-authenticated script attempted to use an authenticated function - returning NULL"
How can I fix this ? I guess I need some sort of key to put in my script ?
(when I run the same nasl script with parameter /X, the script runs fine and works correctly)
2. The script does not run from within the nessus client. I guess this is because of the problem explained above ?
3. ID conventions.
In the plugin, there is a script_id variable. What are the conventions about this id ?
I don't want to use an ID that could be used by one of the official plugins
Can I just take any ID, as long as it's unique
(e.g. prepend the ID with a alphanumerical string ?)
Thanks
____________________________________________________
Peter Van Eeckhoutte
peter.ve@telenet.be - peter.ve@corelan.be
____________________________________________________
My Blog : http://www.corelan.be:8800 (IPv4 and IPv6)
My Tools : http://freetools.corelan.be
RIPE Handle PVE50-RIPE
a.k.a. c0d3r on various forums
____________________________________________________
This transmission is intended only for use by the intended recipient(s). If you are not an intended recipient you should not read, disclose, copy, circulate or in any other way use the information contained in this transmission. The information contained in this transmission may be confidential and/or privileged. If you have received this transmission in error, please notify the sender immediately and delete this transmission including any attachments.
_______________________________________________
Plugins-writers mailing list
Plugins-writers@list.nessus.org
http://mail.nessus.org/mailman/listinfo/plugins-writers
I have started writing a new nessus plugin in nasl.
1. When I run the plugin with nasl (at a command line), I get
"A non-authenticated script attempted to use an authenticated function - returning NULL"
How can I fix this ? I guess I need some sort of key to put in my script ?
(when I run the same nasl script with parameter /X, the script runs fine and works correctly)
2. The script does not run from within the nessus client. I guess this is because of the problem explained above ?
3. ID conventions.
In the plugin, there is a script_id variable. What are the conventions about this id ?
I don't want to use an ID that could be used by one of the official plugins
Can I just take any ID, as long as it's unique
(e.g. prepend the ID with a alphanumerical string ?)
Thanks
____________________________________________________
Peter Van Eeckhoutte
peter.ve@telenet.be - peter.ve@corelan.be
____________________________________________________
My Blog : http://www.corelan.be:8800 (IPv4 and IPv6)
My Tools : http://freetools.corelan.be
RIPE Handle PVE50-RIPE
a.k.a. c0d3r on various forums
____________________________________________________
This transmission is intended only for use by the intended recipient(s). If you are not an intended recipient you should not read, disclose, copy, circulate or in any other way use the information contained in this transmission. The information contained in this transmission may be confidential and/or privileged. If you have received this transmission in error, please notify the sender immediately and delete this transmission including any attachments.
_______________________________________________
Plugins-writers mailing list
Plugins-writers@list.nessus.org
http://mail.nessus.org/mailman/listinfo/plugins-writers