GeezerVisonThe World Wide Web, restored to 800 pixels of glory. |
| Home|About|Gaming cabinet|Archives|How it works|Starter sites |
GeezerVison is showing github.com — metasploit-framework/plugins/wmap.rb at master · linux86/metasploit-framework Expand file tree/ Copy pathwmap.rbMore file actions 2259 lines (1865 loc) · 52.3 KB / Copy pathwmap.rbFile metadata and controls2259 lines (1865 loc) · 52.3 KB 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 360 361 362 363 364 365 366 367 368 369 370 371 372 373 374 375 376 377 378 379 380 381 382 383 384 385 386 387 388 389 390 391 392 393 394 395 396 397 398 399 400 401 402 403 404 405 406 407 408 409 410 411 412 413 414 415 416 417 418 419 420 421 422 423 424 425 426 427 428 429 430 431 432 433 434 435 436 437 438 439 440 441 442 443 444 445 446 447 448 449 450 451 452 453 454 455 456 457 458 459 460 461 462 463 464 465 466 467 468 469 470 471 472 473 474 475 476 477 478 479 480 481 482 483 484 485 486 487 488 489 490 491 492 493 494 495 496 497 498 499 500 501 502 503 504 505 506 507 508 509 510 511 512 513 514 515 516 517 518 519 520 521 522 523 524 525 526 527 528 529 530 531 532 533 534 535 536 537 538 539 540 541 542 543 544 545 546 547 548 549 550 551 552 553 554 555 556 557 558 559 560 561 562 563 564 565 566 567 568 569 570 571 572 573 574 575 576 577 578 579 580 581 582 583 584 585 586 587 588 589 590 591 592 593 594 595 596 597 598 599 600 601 602 603 604 605 606 607 608 609 610 611 612 613 614 615 616 617 618 619 620 621 622 623 624 625 626 627 628 629 630 631 632 633 634 635 636 637 638 639 640 641 642 643 644 645 646 647 648 649 650 651 652 653 654 655 656 657 658 659 660 661 662 663 664 665 666 667 668 669 670 671 672 673 674 675 676 677 678 679 680 681 682 683 684 685 686 687 688 689 690 691 692 693 694 695 696 697 698 699 700 701 702 703 704 705 706 707 708 709 710 711 712 713 714 715 716 717 718 719 720 721 722 723 724 725 726 727 728 729 730 731 732 733 734 735 736 737 738 739 740 741 742 743 744 745 746 747 748 749 750 751 752 753 754 755 756 757 758 759 760 761 762 763 764 765 766 767 768 769 770 771 772 773 774 775 776 777 778 779 780 781 782 783 784 785 786 787 788 789 790 791 792 793 794 795 796 797 798 799 800 801 802 803 804 805 806 807 808 809 810 811 812 813 814 815 816 817 818 819 820 821 822 823 824 825 826 827 828 829 830 831 832 833 834 835 836 837 838 839 840 841 842 843 844 845 846 847 848 849 850 851 852 853 854 855 856 857 858 859 860 861 862 863 864 865 866 867 868 869 870 871 872 873 874 875 876 877 878 879 880 881 882 883 884 885 886 887 888 889 890 891 892 893 894 895 896 897 898 899 900 901 902 903 904 905 906 907 908 909 910 911 912 913 914 915 916 917 918 919 920 921 922 923 924 925 926 927 928 929 930 931 932 933 934 935 936 937 938 939 940 941 942 943 944 945 946 947 948 949 950 951 952 953 954 955 956 957 958 959 960 961 962 963 964 965 966 967 968 969 970 971 972 973 974 975 976 977 978 979 980 981 982 983 984 985 986 987 988 989 990 991 992 993 994 995 996 997 998 999 1000 # # Web assessment for the metasploit framework # Efrain Torres - et[ ] metasploit.com 2012 # # $Id$ # $Revision$ # require 'rabal/tree' require 'msf/core/rpc/v10/client' #require 'fileutils' module Msf class Plugin::Wmap < Msf::Plugin class WmapCommandDispatcher attr_accessor :wmapmodules # Enabled Wmap modules attr_accessor :targets # Targets attr_accessor :lastsites # Temp location of previously obtained sites attr_accessor :rpcarr # Array or rpc connections attr_accessor :njobs # Max number of jobs attr_accessor :nmaxdisplay # Flag to stop displaying the same mesg attr_accessor :runlocal # Flag to run local modules only attr_accessor :masstop # Flag to stop everything attr_accessor :killwhenstop # Kill process when exiting include Msf::Ui::Console::CommandDispatcher def name "wmap" end # # The initial command set # def commands { "wmap_targets" => "Manage targets", "wmap_sites" => "Manage sites", "wmap_nodes" => "Manage nodes", "wmap_run" => "Test targets", "wmap_modules" => "Manage wmap modules", "wmap_vulns" => "Display web vulns", } end def cmd_wmap_vulns(*args) args.push("-h") if args.length == 0 while (arg = args.shift) case arg when '-l' view_vulns return when '-h' print_status("Usage: wmap_vulns [options]") print_line("\t-h Display this help text") print_line("\t-l Display web vulns table") print_line("") return else print_error("Unknown flag.") return end end end def cmd_wmap_modules(*args) args.push("-h") if args.length == 0 while (arg = args.shift) case arg when '-l' view_modules return when '-r' load_wmap_modules(true) return when '-h' print_status("Usage: wmap_modules [options]") print_line("\t-h Display this help text") print_line("\t-l List all wmap enabled modules") print_line("\t-r Reload wmap modules") print_line("") return else print_error("Unknown flag.") return end end end def cmd_wmap_targets(*args) args.push("-h") if args.length == 0 while (arg = args.shift) case arg when '-c' self.targets = Hash.new() when '-l' view_targets return when '-t' process_urls(args.shift) when '-d' process_ids(args.shift) when '-h' print_status("Usage: wmap_targets [options]") print_line("\t-h Display this help text") print_line("\t-t [urls] Define target sites (vhost1,url[space]vhost2,url) ") print_line("\t-d [ids] Define target sites (id1, id2, id3 ...)") print_line("\t-c Clean target sites list") print_line("\t-l List all target sites") print_line("") return else print_error("Unknown flag.") return end end end def cmd_wmap_sites(*args) args.push("-h") if args.length == 0 while (arg = args.shift) case arg when '-a' s = add_web_site(args.shift) if s print_status("Site created.") else print_error("Unable to create site") end when '-l' view_sites return when '-s' u = args.shift l = args.shift s = args.shift if not u return end if l == nil or l.empty? l = 200 s = true else l = l.to_i s = false end if u.include? 'http' # Parameters are in url form view_site_tree(u,l,s) else # Parameters are digits if !self.lastsites or self.lastsites.length == 0 view_sites print_status ("Web sites ids. referenced from previous table.") end target_whitelist = [] ids = u.to_s.split(/,/) ids.each do |id| next if id.to_s.strip.empty? if id.to_i > self.lastsites.length print_error("Skipping id #{id}...") else target_whitelist << self.lastsites[id.to_i] #print_status("Loading #{self.lastsites[id.to_i]}.") end end # Skip the DB entirely if no matches return if target_whitelist.length == 0 if not self.targets self.targets = Hash.new() end target_whitelist.each do |ent| view_site_tree(ent,l,s) end end return when '-h' print_status("Usage: wmap_sites [options]") print_line("\t-h Display this help text") print_line("\t-a [url] Add site (vhost,url)") print_line("\t-l List all available sites") print_line("\t-s [id] Display site structure (vhost,url|ids) (level)") print_line("") return else print_error("Unknown flag.") return end end end def cmd_wmap_nodes(*args) if not self.rpcarr self.rpcarr=Hash.new() end args.push("-h") if args.length == 0 while (arg = args.shift) case arg when '-a' h = args.shift r = args.shift s = args.shift u = args.shift p = args.shift res = rpc_add_node(h,r,s,u,p,false) if res print_status("Node created.") else print_error("Unable to create node") end when '-c' idref = args.shift if not idref print_error("No id defined") return end if idref.upcase == 'ALL' print_status("All nodes removed") self.rpcarr = Hash.new() else idx=0 self.rpcarr.each do |k,v| if idx == idref.to_i self.rpcarr.delete(k) print_status("Node deleted #{k}") end idx += 1 end end when '-d' host = args.shift port = args.shift user = args.shift pass = args.shift dbname = args.shift res = rpc_db_nodes(host,port,user,pass,dbname) if res print_status("OK.") else print_error("Error") end when '-l' rpc_list_nodes return when '-j' rpc_view_jobs return when '-k' node = args.shift jid = args.shift rpc_kill_node(node,jid) return when '-h' print_status("Usage: wmap_nodes [options]") print_line("\t-h Display this help text") print_line("\t-c id Remove id node (Use ALL for ALL nodes") print_line("\t-a host port ssl user pass Add node") print_line("\t-d host port user pass db Force all nodes to connect to db") print_line("\t-j View detailed jobs") print_line("\t-k ALL|id ALL|job_id Kill jobs on node") print_line("\t-l List all current nodes") print_line("") return else print_error("Unknown flag.") return end end end def cmd_wmap_run(*args) # Stop everything self.masstop = false self.killwhenstop = true trap("INT") { print_error("Stopping execution...") self.masstop = true if self.killwhenstop rpc_kill_node('ALL','ALL') end return } # Max numbers of concurrent jobs per node self.njobs = 25 self.nmaxdisplay = false self.runlocal = false # Formating sizeline = 60 wmap_show = 2**0 wmap_expl = 2**1 # Exclude files can be modified by setting datastore['WMAP_EXCLUDE'] wmap_exclude_files = '.*\.(gif|jpg|png*)$' run_wmap_ssl = true run_wmap_server = true run_wmap_dir_file = true run_wmap_query = true run_wmap_unique_query = true run_wmap_generic = true # If module supports datastore['VERBOSE'] moduleverbose = false showprogress = false if not self.rpcarr self.rpcarr = Hash.new() end if not run_wmap_ssl print_status("Loading of wmap ssl modules disabled.") end if not run_wmap_server print_status("Loading of wmap server modules disabled.") end if not run_wmap_dir_file print_status("Loading of wmap dir and file modules disabled.") end if not run_wmap_query print_status("Loading of wmap query modules disabled.") end if not run_wmap_unique_query print_status("Loading of wmap unique query modules disabled.") end if not run_wmap_generic print_status("Loading of wmap generic modules disabled.") end stamp = Time.now.to_f mode = 0 eprofile = [] using_p = false using_m = false usinginipath = false mname = '' inipathname = '/' args.push("-h") if args.length == 0 while (arg = args.shift) case arg when '-t' mode |= wmap_show when '-e' mode |= wmap_expl profile = args.shift if profile print_status("Using profile #{profile}.") begin File.open(profile).each do |str| if not str.include? '#' # Not a comment modname = str.strip if not modname.empty? eprofile << modname end end using_p = true end rescue print_error("Profile not found or invalid.") return end else print_status("Using ALL wmap enabled modules.") end when '-m' mode |= wmap_expl mname = args.shift if mname print_status("Using module #{mname}.") end using_m = true when '-p' mode |= wmap_expl inipathname = args.shift if inipathname print_status("Using initial path #{inipathname}.") end usinginipath = true when '-h' print_status("Usage: wmap_run [options]") print_line("\t-h Display this help text") print_line("\t-t Show all enabled modules") print_line("\t-m [regex] Launch only modules that name match provided regex.") print_line("\t-p [regex] Only test path defined by regex.") print_line("\t-e [/path/to/profile] Launch profile modules against all matched targets.") print_line("\t (No profile file runs all enabled modules.)") print_line("") return else print_error("Unknown flag") return end end if (self.rpcarr.length == 0) and (mode & wmap_show == 0) print_error("NO WMAP NODES DEFINED. Executing local modules") self.runlocal = true end if self.targets == nil print_error("Targets have not been selected.") return end if self.targets.keys.length == 0 print_error("Targets have not been selected.") return end execmod = true if (mode & wmap_show != 0) execmod = false end self.targets.each_with_index do |t, idx| selected_host = t[1][:host] selected_port = t[1][:port] selected_ssl = t[1][:ssl] selected_vhost = t[1][:vhost] print_status ("Testing target:") print_status ("\tSite: #{selected_vhost} (#{selected_host})") print_status ("\tPort: #{selected_port} SSL: #{selected_ssl}") print_line '='* sizeline print_status("Testing started. #{(Time.now )}") if not selected_ssl run_wmap_ssl = false #print_status ("Target is not SSL. SSL modules disabled.") end # wmap_dir, wmap_file matches = Hash.new() # wmap_server matches1 = Hash.new() # wmap_query matches2 = Hash.new() # wmap_ssl matches3 = Hash.new() # wmap_unique_query matches5 = Hash.new() # wmap_generic matches10 = Hash.new() # OPTIONS opt_str = nil jobify = false # This will be clean later load_wmap_modules(false) self.wmapmodules.each do |w| case w[2] when :wmap_server if run_wmap_server matches1[w]=true end when :wmap_query if run_wmap_query matches2[w]=true end when :wmap_unique_query if run_wmap_unique_query matches5[w]=true end when :wmap_generic if run_wmap_generic matches10[w]=true end when :wmap_dir, :wmap_file if run_wmap_dir_file matches[w]=true end when :wmap_ssl if run_wmap_ssl matches3[w]=true end else # Black Hole end end # Execution order (orderid) matches = sort_by_orderid(matches) matches1 = sort_by_orderid(matches1) matches2 = sort_by_orderid(matches2) matches3 = sort_by_orderid(matches3) matches5 = sort_by_orderid(matches5) matches10 = sort_by_orderid(matches10) # # Handle modules that need to be run before all tests IF SERVER is SSL, once usually again the SSL web server. # :wmap_ssl # print_status "\n=[ SSL testing ]=" print_line "=" * sizeline if not selected_ssl print_status ("Target is not SSL. SSL modules disabled.") end idx = 0 matches3.each_key do |xref| if self.masstop print_error("STOPPED.") return end # Module not part of profile or not match if ( using_p and eprofile.include? xref[0].split('/').last ) or (using_m and xref[0].to_s.match(mname)) or (not using_m and not using_p) idx += 1 begin # Module options hash modopts = Hash.new() # # The code is just a proof-of-concept and will be expanded in the future # print_status "Module #{xref[0]}" if (mode & wmap_expl != 0) # # For modules to have access to the global datastore # i.e. set -g DOMAIN test.com # self.framework.datastore.each do |gkey,gval| modopts[gkey]=gval end # # Parameters passed in hash xref # modopts['RHOST'] = selected_host modopts['RHOSTS'] = selected_host modopts['RPORT'] = selected_port.to_s modopts['SSL'] = selected_ssl modopts['VHOST'] = selected_vhost.to_s modopts['VERBOSE'] = moduleverbose modopts['ShowProgress'] = showprogress modopts['RunAsJob'] = jobify begin if execmod rpcnode = rpc_round_exec(xref[0],xref[1], modopts, self.njobs) end rescue ::Exception print_status(" >> Exception during launch from #{xref[0]}: #{$!}") end end rescue ::Exception print_status(" >> Exception from #{xref[0]}: #{$!}") end end end # # Handle modules that need to be run before all tests, once usually again the web server. # :wmap_server # print_status "\n=[ Web Server testing ]=" print_line "=" * sizeline idx = 0 matches1.each_key do |xref| if self.masstop print_error("STOPPED.") return end # Module not part of profile or not match if ( using_p and eprofile.include? xref[0].split('/').last ) or (using_m and xref[0].to_s.match(mname)) or (not using_m and not using_p) idx += 1 begin # Module options hash modopts = Hash.new() # # The code is just a proof-of-concept and will be expanded in the future # print_status "Module #{xref[0]}" if (mode & wmap_expl != 0) # # For modules to have access to the global datastore # i.e. set -g DOMAIN test.com # self.framework.datastore.each do |gkey,gval| modopts[gkey]=gval end # # Parameters passed in hash xref # modopts['RHOST'] = selected_host modopts['RHOSTS'] = selected_host modopts['RPORT'] = selected_port.to_s modopts['SSL'] = selected_ssl modopts['VHOST'] = selected_vhost.to_s modopts['VERBOSE'] = moduleverbose modopts['ShowProgress'] = showprogress modopts['RunAsJob'] = jobify begin if execmod rpcnode = rpc_round_exec(xref[0],xref[1], modopts, self.njobs) end rescue ::Exception print_status(" >> Exception during launch from #{xref[0]}: #{$!}") end end rescue ::Exception print_status(" >> Exception from #{xref[0]}: #{$!}") end end end # # Handle modules to be run at every path/file # wmap_dir, wmap_file # print_status "\n=[ File/Dir testing ]=" print_line "=" * sizeline idx = 0 matches.each_key do |xref| if self.masstop print_error("STOPPED.") return end # Module not part of profile or not match if ( using_p and eprofile.include? xref[0].split('/').last ) or (using_m and xref[0].to_s.match(mname)) or (not using_m and not using_p) idx+=1 begin # Module options hash modopts = Hash.new() # # The code is just a proof-of-concept and will be expanded in the future # print_status "Module #{xref[0]}" if (mode & wmap_expl != 0) # # For modules to have access to the global datastore # i.e. set -g DOMAIN test.com # self.framework.datastore.each do |gkey,gval| modopts[gkey]=gval end # # Parameters passed in hash xref # modopts['RHOST'] = selected_host modopts['RHOSTS'] = selected_host modopts['RPORT'] = selected_port.to_s modopts['SSL'] = selected_ssl modopts['VHOST'] = selected_vhost.to_s modopts['VERBOSE'] = moduleverbose modopts['ShowProgress'] = showprogress modopts['RunAsJob'] = jobify # # Run the plugins that only need to be # launched once. # wtype = xref[2] h = self.framework.db.workspace.hosts.find_by_address(selected_host) s = h.services.find_by_port(selected_port) w = s.web_sites.find_by_vhost(selected_vhost) test_tree = load_tree(w) test_tree.each do |node| if self.masstop print_error("STOPPED.") return end p = node.current_path testpath = Pathname.new(p) strpath = testpath.cleanpath(false).to_s # # Fixing paths # if node.is_leaf? and not node.is_root? # # Later we can add here more checks to see if its a file # else if node.is_root? strpath = "/" else strpath = strpath.chomp + "/" end end strpath = strpath.gsub("//", "/") #print_status("Testing path: #{strpath}") # # Launch plugin depending module type. # Module type depends on main input type. # Code may be the same but it depend on final # versions of plugins # case wtype when :wmap_file if node.is_leaf? and not node.is_root? # # Check if an exclusion regex has been defined # if self.framework.datastore['WMAP_EXCLUDE'] excludefilestr = self.framework.datastore['WMAP_EXCLUDE'] else excludefilestr = wmap_exclude_files end if not strpath.match(excludefilestr) if (not usinginipath) or (usinginipath and strpath.match(inipathname)) modopts['PATH'] = strpath print_status("Path: #{strpath}") begin if execmod rpcnode = rpc_round_exec(xref[0],xref[1], modopts, self.njobs) end rescue ::Exception print_status(" >> Exception during launch from #{xref[0]}: #{$!}") end end end end when :wmap_dir if (node.is_leaf? and not strpath.include? ".") or node.is_root? or not node.is_leaf? if (not usinginipath) or (usinginipath and strpath.match(inipathname)) modopts['PATH'] = strpath print_status("Path: #{strpath}") begin if execmod rpcnode = rpc_round_exec(xref[0],xref[1], modopts, njobs) end rescue ::Exception print_status(" >> Exception during launch from #{xref[0]}: #{$!}") end end end end end end rescue ::Exception print_status(" >> Exception from #{xref[0]}: #{$!}") end end end # # Run modules for each request to play with URI with UNIQUE query parameters. # wmap_unique_query # print_status "\n=[ Unique Query testing ]=" print_line "=" * sizeline idx = 0 matches5.each_key do |xref| if self.masstop print_error("STOPPED.") return end # Module not part of profile or not match if ( using_p and eprofile.include? xref[0].split('/').last ) or (using_m and xref[0].to_s.match(mname)) or (not using_m and not using_p) idx += 1 begin # Module options hash modopts = Hash.new() # # The code is just a proof-of-concept and will be expanded in the future # print_status "Module #{xref[0]}" if (mode & wmap_expl != 0) # # For modules to have access to the global datastore # i.e. set -g DOMAIN test.com # self.framework.datastore.each do |gkey,gval| modopts[gkey]=gval end # # Parameters passed in hash xref # modopts['RHOST'] = selected_host modopts['RHOSTS'] = selected_host modopts['RPORT'] = selected_port.to_s modopts['SSL'] = selected_ssl modopts['VHOST'] = selected_vhost.to_s modopts['VERBOSE'] = moduleverbose modopts['ShowProgress'] = showprogress modopts['RunAsJob'] = jobify # # Run the plugins for each request that have a distinct # GET/POST URI QUERY string. # utest_query = Hash.new() h = self.framework.db.workspace.hosts.find_by_address(selected_host) s = h.services.find_by_port(selected_port) w = s.web_sites.find_by_vhost(selected_vhost) w.web_forms.each do |form| if self.masstop print_error("STOPPED.") return end # # Only test unique query strings by comparing signature to previous tested signatures 'path,p1,p2,pn' # datastr = "" typestr = "" temparr = [] #print_status "---------" #print_status form.params #print_status "+++++++++" form.params.each do |p| pn, pv, pt = p if pn if not pn.empty? if not pv or pv.empty? #TODO add value based on param name pv = "aaa" end #temparr << pn.to_s + "=" + Rex::Text.uri_encode(pv.to_s) temparr << pn.to_s + "=" + pv.to_s end else print_error("Blank parameter name. Form #{form.path}") end end datastr = temparr.join("&") if (temparr and not temparr.empty?) if (utest_query.has_key?(signature(form.path,datastr)) == false) modopts['METHOD'] = form.method.upcase modopts['PATH'] = form.path modopts['QUERY'] = form.query if form.method.upcase == 'GET' modopts['QUERY'] = datastr modopts['DATA'] = "" end if form.method.upcase == 'POST' modopts['DATA'] = datastr end modopts['TYPES'] = typestr # # TODO: Add headers, etc. # if (not usinginipath) or (usinginipath and form.path.match(inipathname)) print_status "Path #{form.path}" #print_status("Unique PATH #{modopts['PATH']}") #print_status("Unique GET #{modopts['QUERY']}") #print_status("Unique POST #{modopts['DATA']}") #print_status("MODOPTS: #{modopts}") begin if execmod rpcnode = rpc_round_exec(xref[0],xref[1], modopts, self.njobs) end utest_query[signature(form.path,datastr)]=1 rescue ::Exception print_status(" >> Exception during launch from #{xref[0]}: #{$!}") end end else #print_status("Already tested") end end end rescue ::Exception print_status(" >> Exception from #{xref[0]}: #{$!}") end end end # # Run modules for each request to play with URI query parameters. # This approach will reduce the complexity of the Tree used before # and will make this shotgun implementation much simple. # wmap_query # print_status "\n=[ Query testing ]=" print_line "=" * sizeline idx = 0 matches2.each_key do |xref| if self.masstop print_error("STOPPED.") return end # Module not part of profile or not match if not ( using_p and eprofile.include? xref[0].split('/').last ) or (using_m and xref[0].to_s.match(mname)) or (not using_m and not using_p) idx += 1 begin # Module options hash modopts = Hash.new() # # The code is just a proof-of-concept and will be expanded in the future |
| You are visitor 01402792 — GeezerVison does not store the pages you look up. Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required. |