Plugins Documentation

Just the plugins for now.

Plugins

To use the plugins you should put these files in a directory: "$HOME/.jags/plugins/your_plugin.plugin". Then the plugin automaticly will appear in the preferences dialog. If you make your own plugin please send it to me and I'll include it in the next version of Jags.

fetch_master_browser.sh:
Argument: [WORKGROUP]
This will fetch the masterbrowsers netbios NAME and print it.
Example:
sumpan@e:~/.jags/plugins/samba-2.0.7.plugin$ sh fetch_master_browser.sh E98

SUMPAN

list_workgroups.sh:
Argument: [MASTERBROWSER]
List all workgroups on the network.
Example output:
sumpan@e:~/.jags/plugins/samba-2.0.7.plugin$ sh list_workgroups.sh "SUMPAN"

06
1
3AN
3D
6 FEET BELOW
6AN
8 AN
...
...
D98
D98A
D98B
E98
E99
...
...

list_servers.sh:
Argument: [MASTERBROWSER]
List all servers in a workgroup.
Example output:
sumpan@e:~/.jags/plugins/samba-2.0.7.plugin$ sh list_servers.sh "SUMPAN"

CARNAL
ERNST
HOVA
INDY
MCCOY
NADA
OUTLAW
PLEXI
PORTAL
PRINCEICE
ROSA
SMART
SNIGEL
SUMPAN
VERNIE
ZERO
ZNORK

list_shares.sh:
Argument: [COMPUTER]
Lists the shares on a specified server.
Example output:
sumpan@e:~/.jags/plugins/samba-2.0.7.plugin$ sh list_shares.sh "SUMPAN"

public
grejt hihi
IPC$

mount_share.sh:
Argument: [COMPUTER] [SHARE] [MOUNT_DIR]
Does the actual mounting...

Example: sh mount_share.sh "SUMPAN" "public" "/home/sumpan/mounts/SUMPAN/public"

This is what you have to play around with. All the scripts just dump its output to stdout. Technically you should be able to make scripts which should be able to browse ftp-servers. Maybe I'll make such scripts just to show the possybilities and the power of making this script-based... But I'll fix the windows network browsing first.