./._demo_and_tools0000755011670700007650000000030511075655221013660 0ustar schubaschubaMac OS X  2ATTRF> --com.apple.quarantineq/0000;48ee5a4c;Firefox;|org.mozilla.firefoxdemo_and_tools/0000755011670700007650000000000011075655221013362 5ustar schubaschubademo_and_tools/._bin0000755011670700007650000000030511075656600014275 0ustar schubaschubaMac OS X  2ATTRF>$--com.apple.quarantineq/0000;48ee5a4c;Firefox;|org.mozilla.firefoxdemo_and_tools/bin/0000755011670700007650000000000011075656600014134 5ustar schubaschubademo_and_tools/bin/._ipsdemo0000755011670700007650000000030511067603602015730 0ustar schubaschubaMac OS X  2ATTRF>&--com.apple.quarantineq/0000;48ee5a4c;Firefox;|org.mozilla.firefoxdemo_and_tools/bin/ipsdemo0000755011670700007650000000336311067603602015522 0ustar schubaschuba#!/usr/bin/perl -w # $prompt = "(pkg-demo ~) \$"; $prompt = "\$"; #-------------------------------------------------- sub command { printf ("$prompt "); system ("typer $cmd"); system(wait4enter); # system($cmd); printf("$prompt ") ; system(wait4enter); } #-------------------------------------------------- # main system(clear); $cmd = "pkg help"; command(); system(clear); $cmd = "pkg search zfs"; command(); system(clear); $cmd = "pkg list SUNWzfs"; command(); system(echo); $cmd = "pkg info SUNWzfs"; command(); system(echo); $cmd = "pkg contents -t dir,file,link,hardlink -o action.name,mode,pkg.size,path,target SUNWzfs"; command(); system(clear); $cmd = "which gcc"; command(); system(echo); $cmd = "pkg search -r gcc"; command(); system(echo); $cmd = "pkg info -r gcc-dev"; command(); system(echo); $cmd = "pfexec pkg refresh"; command(); system(echo); $cmd = "pfexec pkg install -v gcc-dev"; command(); system(echo); $cmd = "which gcc"; command(); system(clear); $cmd = "pkg search -r emacs"; command(); system(echo); $cmd = "pfexec pkg set-authority -O http://pkg.sunfreeware.com:9000 sunfreeware.com"; command(); system(echo); $cmd = "pkg authority"; command(); system(echo); $cmd = "pfexec pkg refresh"; command(); system(echo); $cmd = "pkg search -r emacs"; command(); system(clear); $cmd = "cd ws/hello-world"; command(); system(echo); $cmd = "cat src/hello-world.c"; command(); system(echo); $cmd = "gcc -o bin/hello-world src/hello-world.c"; command(); system(echo); $cmd = "bin/hello-world"; command(); system(clear); $cmd = "svcs pkg/server"; command(); system(echo); $cmd = "svcadm enable pkg/server"; command(); system(clear); $cmd = "cat pkgsend-script"; command(); #-------------------------------------------------- demo_and_tools/bin/._privdebug.pl0000755011670700007650000000030511070162021016656 0ustar schubaschubaMac OS X  2ATTRF>(--com.apple.quarantineq/0000;48ee5a4c;Firefox;|org.mozilla.firefoxdemo_and_tools/bin/privdebug.pl0000755011670700007650000001005411070162021016443 0ustar schubaschuba#!/usr/bin/perl # # CDDL HEADER START # # The contents of this file are subject to the terms of the # Common Development and Distribution License (the "License"). # You may not use this file except in compliance with the License. # # You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE # or http://www.opensolaris.org/os/licensing. # See the License for the specific language governing permissions # and limitations under the License. # # When distributing Covered Code, include this CDDL HEADER in each # file and include the License file at usr/src/OPENSOLARIS.LICENSE. # If applicable, add the following below this CDDL HEADER, with the # fields enclosed by brackets "[]" replaced with your own identifying # information: Portions Copyright [yyyy] [name of copyright owner] # # CDDL HEADER END # # Copyright 2006 Sun Microsystems Inc. All rights reserved. # Use is subject to license terms. # # Some concepts in this script have been cribed from the scripts in the # DTracetoolkit by Brendan Gregg: http://users.tpg.com.au/adsln4yb/dtrace.html use Getopt::Std; use Sun::Solaris::Privilege qw(:ALL); &Usage() if $ARGV[0] eq "--help"; getopts('He:fhn:o:p:vz:') || &Usage(); &Usage() if $opt_h; $FILTER = ""; $COMMAND= 0; if ($opt_e) { $COMMAND= 1 if defined $opt_e; $FILTER = "(pid == \$target)"; } else { $FILTER = "(execname == \"$opt_n\")" if defined $opt_n; if ($FILTER) { $FILTER = "$FILTER && (pid == $opt_p)" if defined $opt_p; } else { $FILTER = "(pid == $opt_p)" if defined $opt_p; } if ($FILTER) { $FILTER = "$FILTER && (zonename == \"$opt_z\")" if defined $opt_z; } else { $FILTER = "(zonename == \"$opt_z\")" if defined $opt_z; } &Usage if not $FILTER; } $FOLLOW = 0; $FOLLOW = 1 if defined $opt_f; $HEADER = 1; $HEADER = 0 if defined $opt_H; $VERBOSE = 0; $VERBOSE = 1 if defined $opt_v; $dscript = <child = 0; } syscall:::entry /($FILTER) || self->child/ { self->start = timestamp; } /* Follow children */ syscall::fork*:entry /$FOLLOW && self->start/ { /* track this parent process */ trackedpid[pid] = 1; } syscall::fork*:return /$FOLLOW && trackedpid[ppid]/ { /* set as child */ self->child = 1; } sdt:::priv-ok /($FILTER) || self->child/ { printf("USED:%d:%d:%d:%s:%d:%d\\n", pid, ppid, uid, execname, timestamp, arg0); } sdt:::priv-err /($FILTER) || self->child/ { printf("NEED:%d:%d:%d:%s:%d:%d\\n", pid, ppid, uid, execname, timestamp, arg0); } END $SIG{INT} = \&Cleanup_Signal; # Ctrl-C $SIG{QUIT} = \&Cleanup_Signal; # Ctrl-\ $SIG{TERM} = \&Cleanup_Signal; # TERM $dtrace = "/usr/sbin/dtrace -n '$dscript'"; if ($COMMAND) { $dtrace = $dtrace . " -c \"$opt_e\""; } open(DTRACE, "$dtrace |") || die "failed to start dtrace\n"; if ($opt_o) { open(OUTPUT, ">", "$opt_o") || die "open of $opt_e failed: $!"; } else { open(OUTPUT, ">&1") || die "can't dup stdout"; } if ($HEADER) { if ($VERBOSE) { printf(OUTPUT "%-4s %-18s %-6s %-6s %-6s %-20s %s\n", "STAT", "TIMESTAMP", "PPID", "PID", "UID", "PRIV", "CMD"); } else { printf(OUTPUT "%-4s %s\n", "STAT", "PRIV"); } } while (chomp($line = )) { ($need, $ppid, $pid, $uid, $execname, $time, $privnum) = split(':', $line); if ($need) { if ($VERBOSE) { printf(OUTPUT "%-4s %-18s %-6s %-6s %-6s %-20s %s\n", $need, $time, $pid, $ppid, $uid, priv_getbynum($privnum), $execname); } else { printf(OUTPUT "%-4s %s\n", $need, priv_getbynum($privnum)); } } } close(DTRACE); close(OUTPUT) if defined $opt_o; sub Cleanup_Signal { } sub Usage { printf(STDERR "privdebug [-f] [-v] [-H] [-o out]\n"); printf(STDERR " %-15s\t%s", "-n ", "Debug a specific program name\n"); printf(STDERR " %-15s\t%s", "-p ", "Debug a specific process ID\n"); printf(STDERR " %-15s\t%s", "-z ", "Debug a specific zone name\n"); printf(STDERR "\nprivdebug [-f] [-v] [-H] [-o out]\n"); printf(STDERR " %-15s\t%s", "-e ", "Execute and debug a specific command\n"); printf(STDERR "\nprivdebug --help | -h\n"); exit(1); } demo_and_tools/bin/._secdemo-cf0000755011670700007650000000030511070162010016260 0ustar schubaschubaMac OS X  2ATTRF>*--com.apple.quarantineq/0000;48ee5a4c;Firefox;|org.mozilla.firefoxdemo_and_tools/bin/secdemo-cf0000755011670700007650000000261411070162010016050 0ustar schubaschuba#!/usr/bin/perl -w # # Demo script accompanying TD09 presentation # Developing and Deploying Securely # # This script is for the Crypto Framework portion of the talk # $prompt = "[global 1]: \$"; # $prompt = "\$"; #-------------------------------------------------- sub command { printf ("$prompt "); system ("typer \"$pcmd\""); system(wait4enter); system($xcmd); printf("$prompt ") ; system(wait4enter); } #-------------------------------------------------- # main # slide 40 system(clear); $pcmd="cryptoadm list"; $xcmd=$pcmd; command(); # slide 45 system(clear); $pcmd="man pkcs11_softtoken"; $xcmd=$pcmd; command(); # slide 47 digest example system(clear); $pcmd="digest -l"; $xcmd=$pcmd; command(); printf("\n"); $pcmd="digest -a sha256 /etc/passwd"; $xcmd=$pcmd; command(); # slide 47 - encryption example system(clear); $pcmd="encrypt -l"; $xcmd=$pcmd; command(); printf("\n"); $pcmd="pktool genkey keystore=file keytype=aes keylen=192 outkey=key"; $xcmd=$pcmd; command(); printf("\n"); $pcmd="encrypt -k key -a aes -i /etc/passwd -o passwd.enc"; $xcmd=$pcmd; command(); printf("\n"); $pcmd="od -xc passwd.enc \| head"; $xcmd=$pcmd; command(); # slide 49 system(clear); $pcmd="modinfo \| grep -i swrand"; $xcmd=$pcmd; command(); printf("\n"); $pcmd="cryptoadm list -mv"; $xcmd=$pcmd; command(); #-------------------------------------------------- demo_and_tools/bin/._secdemo-priv00000744011670700007650000000012211073467054016746 0ustar schubaschubaMac OS X  2 RTEXTEMAxdemo_and_tools/bin/secdemo-priv00000744011670700007650000000347311073467054016545 0ustar schubaschuba#!/usr/bin/perl -w # # Demo script accompanying TD09 presentation # Developing and Deploying Securely # # This script is the left hand side (mostly superuser commands) # for the privileges portion of the talk. # $prompt = "[global 0]: \$"; $user = $ENV{"USER"}; #-------------------------------------------------- sub command { printf ("$prompt "); system ("typer \"$pcmd\""); system(wait4enter); system($xcmd); printf("$prompt ") ; system(wait4enter); } #-------------------------------------------------- # main # slide 8 system(clear); $pcmd="echo pgrep -U $user -n cat "; $xcmd=$pcmd; command(); printf("\n"); $pcmd="echo ppriv -S `pgrep -U $user -n cat`"; $xcmd=$pcmd; command(); # slide 10 system(clear); $pcmd="echo pgrep -U $user -n ping "; $xcmd=$pcmd; command(); printf("\n"); $pcmd="echo ppriv -S `pgrep -U $user -n ping`"; $xcmd=$pcmd; command(); # slide 11 system(clear); $pcmd="ppriv -lv basic"; $xcmd=$pcmd; command(); # slide 20 system(clear); $pcmd="tail -f /var/adm/messages"; $xcmd=$pcmd; command(); # slide 21, first example system(clear); $pcmd="echo dtrace -l \| grep priv-"; $xcmd=$pcmd; command(); # slide 21, second example - SKIPPING THIS EXAMPLE IN THIS DEMO ## system(clear); ## $pcmd="echo dtrace -n 'sdt:::priv-*'"; ## $xcmd=$pcmd; command(); # slide 21, third example system(clear); $pcmd="echo dtrace -n \'sdt:::priv-* { printf(\\\"%d %d %s\\\", arg0, pid, execname); }\'"; $xcmd="echo dtrace -n 'sdt:::priv-* { printf(\"%d %d %s\", arg0, pid, execname); }'"; command(); # slide 22, first example system(clear); $pcmd="echo privdebug.pl -n sshd -f -v"; $xcmd=$pcmd; command(); # slide 22, second example system(clear); $pcmd="echo privdebug.pl -n cat -f -v"; $xcmd=$pcmd; command(); #-------------------------------------------------- demo_and_tools/bin/._secdemo-priv10000755011670700007650000000030511070162010016731 0ustar schubaschubaMac OS X  2ATTRF>.--com.apple.quarantineq/0000;48ee5a4c;Firefox;|org.mozilla.firefoxdemo_and_tools/bin/secdemo-priv10000755011670700007650000000202511070162010016515 0ustar schubaschuba#!/usr/bin/perl -w # # Demo script accompanying TD09 presentation # Developing and Deploying Securely # # This script is the right hand side (mostly user commands) # for the privileges portion of the talk. # $prompt = "[global 1]: \$"; # $prompt = "\$"; #-------------------------------------------------- sub command { printf ("$prompt "); system ("typer \"$pcmd\""); system(wait4enter); system($xcmd); printf("$prompt ") ; system(wait4enter); } #-------------------------------------------------- # main # slide 8 system(clear); $pcmd="cat"; $xcmd=$pcmd; command(); # close command "cat" out with a CTRL-D # slide 10 system(clear); $pcmd="ping www.sun.com"; $xcmd=$pcmd; command(); # slide 20 system(clear); $pcmd="ppriv -e -D cat /etc/shadow"; $xcmd="date;$pcmd"; command(); # slide 22, first example system(clear); $pcmd="ssh localhost"; $xcmd=$pcmd; command(); # slide 22, second example printf("\n"); $pcmd="cat /etc/shadow"; $xcmd=$pcmd; command(); #-------------------------------------------------- demo_and_tools/bin/._secdemo-rbac0000755011670700007650000000012211073467112016612 0ustar schubaschubaMac OS X  2 RTEXTEMAxdemo_and_tools/bin/secdemo-rbac0000755011670700007650000000305611073467112016406 0ustar schubaschuba#!/usr/bin/perl -w # # Demo script accompanying TD09 presentation # Developing and Deploying Securely # # This script is for the RBAC portion of the talk # $prompt = "[global 1]: \$"; $user = $ENV{"USER"}; #-------------------------------------------------- sub command { printf ("$prompt "); system ("typer \"$pcmd\""); system(wait4enter); system($xcmd); printf("$prompt ") ; system(wait4enter); } #-------------------------------------------------- # main # slide 31 system(clear); $pcmd="whoami"; $xcmd=$pcmd; command(); printf("\n"); $pcmd="profiles"; $xcmd=$pcmd; command(); printf("\n"); $pcmd="auths"; $xcmd=$pcmd; command(); printf("\n"); $pcmd="grep $user /etc/user_attr"; $xcmd=$pcmd; command(); printf("\n"); $pcmd="pfexec usermod -P \\\"\\\" $user"; $xcmd="pfexec usermod -P \"\" $user"; command(); printf("\n"); $pcmd="grep $user /etc/user_attr"; $xcmd=$pcmd; command(); printf("\n"); $pcmd="auths"; $xcmd=$pcmd; command(); # slide 22 printf("\n"); $pcmd="pfexec usermod -P \\\"Primary Administrator\\\" $user"; $xcmd="pfexec usermod -P \"Primary Administrator\""; command(); printf("\n"); $pcmd="auths \| grep grant"; $xcmd=$pcmd; command(); printf("\n"); printf("## whoami\n"); printf("## usermod -P \"Primary Administrator\" $user\n"); printf("## exit\n"); printf("\n"); $pcmd="su root"; $xcmd=$pcmd; command(); printf("\n"); $pcmd="grep $user /etc/user_attr"; $xcmd=$pcmd; command(); printf("\n"); $pcmd="auths"; $xcmd=$pcmd; command(); #-------------------------------------------------- demo_and_tools/bin/tmpdemo0000764011670700007650000000055211075656213015531 0ustar schubaschuba#!/usr/bin/perl -w $prompt = "\$"; sub command { printf ("$prompt "); system ("typer \"$pcmd\""); system(wait4enter); system($xcmd); printf("$prompt ") ; system(wait4enter); } #-------------------------------------------------- # main system(clear); $pcmd="whoami"; $xcmd=$pcmd; command(); #-------------------------------------------------- demo_and_tools/bin/tmpdemo00000764011670700007650000000057511075656554015626 0ustar schubaschuba#!/usr/bin/perl -w $prompt = "\$"; sub command { printf ("$prompt "); system ("typer \"$pcmd\""); system(wait4enter); system($xcmd); printf("$prompt ") ; system(wait4enter); } #-------------------------------------------------- # main system(clear); $pcmd="tail -f /var/adm/messages"; $xcmd=$pcmd; command(); #-------------------------------------------------- demo_and_tools/bin/tmpdemo10000764011670700007650000000060711075656600015613 0ustar schubaschuba#!/usr/bin/perl -w $prompt = "\$"; sub command { printf ("$prompt "); system ("typer \"$pcmd\""); system(wait4enter); system($xcmd); printf("$prompt ") ; system(wait4enter); } #-------------------------------------------------- # main system(clear); $pcmd="ppriv -e -D cat /etc/shadow"; $xcmd="date;$pcmd"; command(); #-------------------------------------------------- demo_and_tools/bin/._typer0000755011670700007650000000030511075657017015443 0ustar schubaschubaMac OS X  2ATTRF>2--com.apple.quarantineq/0000;48ee5a4c;Firefox;|org.mozilla.firefoxdemo_and_tools/bin/typer0000755011670700007650000002045011075657017015231 0ustar schubaschubaELFp 4P4 (44o P/usr/lib/ld.so.1%% "#  !$  +  A  M U0 krx @ L  D \    ~ P ` "3: AS` Yf 0 @ p    @!  s!   typerfsr.scrti.svalues-Xa.ccrtstuff.c__do_global_dtors_auxframe_dummytyper.c__do_global_ctors_auxcrtn.s__iob__fsr_init_value_environ_Jv_RegisterClassesmain__environ_lock__1cG__CrunMdo_exit_code6F_v____Argv__register_frame_info_bases_DYNAMIC_mcount__fsrfprintf_get_exit_frame_monitor_edataatexit__longdouble_used_init_lib_version__deregister_frame_info_bases_etext_finifflushusleep_start_exitstrlen_end__fpstart_GLOBAL_OFFSET_TABLE___dso_handle_PROCEDURE_LINKAGE_TABLE_libc.so.1SUNW_0.9SUNWprivate_1.1/usr/sfw/lib(= qN 0%".(,)dh  ! 5%%h%h%h%h%h %h(%h0%h8p%h@`%hHP%hP@%hX0%h` jjt Rh`tdt PE@u T@RU \RP"u\ PPURQ h t`|$уl D$td$у`tƒ 3fd$f T$tfd$f L$l$YZ]ÐUS[R t :ҋu鋃t Pƃ ]ÐUS[óP$tSjPPt,t P]U)EEE;EEE EEEE 4\EEE;E}FEEPhh; h; h@ ;E벃 h4EMUVS[jp@Ћu[^US[;s[US[[%c         & 6 F V f  ` ""X / `H``` `@oo oh(  o`o`` HX    (   p  ` @ `*d=hRl ]dp@{    &.;HVb0 x @ L  D \    ( ~ /P 6` "NU \n` t 0 @ p    @!  !.   typerfsr.s__get_exit_frame_monitor_ptr__do_exit_code_ptr__fsr_init_value_ptrtrap_tablecrti.svalues-Xa.cDdata.dataBbss.bssDrodata.rodataDpicdata.picdatacrtstuff.c__CTOR_LIST____DTOR_LIST____EH_FRAME_BEGIN____JCR_LIST__p.0completed.1__do_global_dtors_auxobject.2frame_dummytyper.c__CTOR_END____DTOR_END____FRAME_END____JCR_END____do_global_ctors_auxcrtn.s_END__START___iob__fsr_init_value_environ_Jv_RegisterClassesmain__environ_lock__1cG__CrunMdo_exit_code6F_v____Argv__register_frame_info_bases_DYNAMIC_mcount__fsrfprintf_get_exit_frame_monitor_edataatexit__longdouble_used_init_lib_version__deregister_frame_info_bases_etext_finifflushusleep_start_exitstrlen_end__fpstart_GLOBAL_OFFSET_TABLE___dso_handle_PROCEDURE_LINKAGE_TABLE_@(#)SunOS 5.11 snv_86 January 2008@(#)SunOS 5.11 snv_86 January 2008@(#)SunOS 5.11 snv_86 January 2008GCC: (GNU) 3.4.3 (csl-sol210-3_4-20050802)GCC: (GNU) 3.4.3 (csl-sol210-3_4-20050802)GCC: (GNU) 3.4.3 (csl-sol210-3_4-20050802)@(#)SunOS 5.11 snv_86 January 2008ld: Software Generation Utilities - Solaris Link Editors: 5.11-1.622.interp.SUNW_cap.hash.SUNW_ldynsym.dynsym.dynstr.SUNW_version.SUNW_dynsymsort.SUNW_reloc.rel.plt.text.init.fini.rodata.got.dynamic.data.bssf.picdata.ctors.dtors.eh_frame.jcr.data.rel.local.bss.symtab.strtab.comment.shstrtab o0oHH ' P/"XX/7o  0Eo  @V   0b B( ( h f  kp p q``w} LP@@T0? Y Sdemo_and_tools/bin/._wait4enter0000755011670700007650000000030511075657043016365 0ustar schubaschubaMac OS X  2ATTRF>4--com.apple.quarantineq/0000;48ee5a4c;Firefox;|org.mozilla.firefoxdemo_and_tools/bin/wait4enter0000755011670700007650000001763011075657043016161 0ustar schubaschubaELF 44 (44ol l l l  P/usr/lib/ld.so.1%!   %0  F0  R%_  u|  ^       P ~ & ">hE0  K( RDdh q l P H   !H8 X }!l H  wait4enterfsr.scrti.svalues-Xa.ccrtstuff.c__do_global_dtors_auxframe_dummywait4enter.c__do_global_ctors_auxcrtn.s__iob__fsr_init_value_Jv_RegisterClasses_environmain__environ_lock__1cG__CrunMdo_exit_code6F_v____Argv__register_frame_info_bases_DYNAMIC__filbuf_mcount__fsr_get_exit_frame_monitor_edata_initatexit__longdouble_used_lib_version__deregister_frame_info_bases_etext_fini_exit_start_end__fpstart_GLOBAL_OFFSET_TABLE___dso_handle_PROCEDURE_LINKAGE_TABLE_libc.so.1SUNWprivate_1.1SYSVABI_1.3/usr/sfw/libqN 7,$"*%)&    x |        5p %t %x h%| h% h% h% h % h(% h0% h8p% h@`jj츨 t R[hP Ntt P-Eu TRU RP"\ PPURQ  t`|$у$ D$td$у`tƒ 3fd$f T$tfd$f L$l$YZ]ÐUS[ÏRt :ҋu鋃t PHƃ]ÐUS[3P$tSjPPt,t P]U) =y hEEEEUVS[np@Ћu[^US[3[US[o[ . > N ^ n ~     0  P  ( `8```` `@oxo0 oH  xo`o`l  X80 `       0  P h l  LLLT\`dhH /B W$ biuhh LLT\`dh  l0  +8PEXR\``l     ^   ! * 3  ;P ~ A "Yh`0  f( mDh  l P H   !H8 X !l H  wait4enterfsr.s__get_exit_frame_monitor_ptr__do_exit_code_ptr__fsr_init_value_ptrtrap_tablecrti.svalues-Xa.cDdata.dataBbss.bssDrodata.rodataDpicdata.picdatacrtstuff.c__CTOR_LIST____DTOR_LIST____EH_FRAME_BEGIN____JCR_LIST__p.0completed.1__do_global_dtors_auxobject.2frame_dummywait4enter.c__CTOR_END____DTOR_END____FRAME_END____JCR_END____do_global_ctors_auxcrtn.s_END__START___iob__fsr_init_value_Jv_RegisterClasses_environmain__environ_lock__1cG__CrunMdo_exit_code6F_v____Argv__register_frame_info_bases_DYNAMIC__filbuf_mcount__fsr_get_exit_frame_monitor_edata_initatexit__longdouble_used_lib_version__deregister_frame_info_bases_etext_fini_exit_start_end__fpstart_GLOBAL_OFFSET_TABLE___dso_handle_PROCEDURE_LINKAGE_TABLE_@(#)SunOS 5.11 snv_86 January 2008@(#)SunOS 5.11 snv_86 January 2008@(#)SunOS 5.11 snv_86 January 2008GCC: (GNU) 3.4.3 (csl-sol210-3_4-20050802)GCC: (GNU) 3.4.3 (csl-sol210-3_4-20050802)GCC: (GNU) 3.4.3 (csl-sol210-3_4-20050802)@(#)SunOS 5.11 snv_86 January 2008ld: Software Generation Utilities - Solaris Link Editors: 5.11-1.622.interp.SUNW_cap.hash.SUNW_ldynsym.dynsym.dynstr.SUNW_version.SUNW_dynsymsort.SUNW_reloc.rel.plt.text.init.fini.rodata.got.dynamic.data.bssf.picdata.ctors.dtors.eh_frame.jcr.data.rel.local.bss.symtab.strtab.comment.shstrtab o o88 ' /"(7o0 0 0Eo` ` @V   0b B  H f  k  lq0 0 wP P }h h l l <  PTLLLLLLTT\\``ddhhh? XhY demo_and_tools/._hello-world0000755011670700007650000000030511075655114015754 0ustar schubaschubaMac OS X  2ATTRF>6--com.apple.quarantineq/0000;48ee5a4c;Firefox;|org.mozilla.firefoxdemo_and_tools/hello-world/0000755011670700007650000000000011075655114015613 5ustar schubaschubademo_and_tools/hello-world/._bin0000755011670700007650000000030511013170154016510 0ustar schubaschubaMac OS X  2ATTRF>8--com.apple.quarantineq/0000;48ee5a4c;Firefox;|org.mozilla.firefoxdemo_and_tools/hello-world/bin/0000755011670700007650000000000011013170154016347 5ustar schubaschubademo_and_tools/hello-world/._pkgsend-script0000744011670700007650000000012211013205374020673 0ustar schubaschubaMac OS X  2 RTEXTEMAxdemo_and_tools/hello-world/pkgsend-script0000744011670700007650000000050111013205374020457 0ustar schubaschuba#!/bin/bash cd ws/hello-world eval 'pkgsend -s "http://localhost:80" open hello-world@1.0-1' pkgsend -s "http://localhost:80" add dir mode=055 owner=root group=bin path=bin pkgsend -s "http://localhost:80" add file bin/hello-world mode=055 owner=root group=bin path=bin/hello-world pkgsend -s "http://localhost:80" close demo_and_tools/hello-world/._src0000755011670700007650000000030511075655114016543 0ustar schubaschubaMac OS X  2ATTRF><--com.apple.quarantineq/0000;48ee5a4c;Firefox;|org.mozilla.firefoxdemo_and_tools/hello-world/src/0000755011670700007650000000000011075655114016402 5ustar schubaschubademo_and_tools/hello-world/src/._hello-world.c0000644011670700007650000000012211013171554021177 0ustar schubaschubaMac OS X  2 RTEXTEMAxdemo_and_tools/hello-world/src/hello-world.c0000644011670700007650000000014311013171554020765 0ustar schubaschuba#include int main(int argc, char *argv[]) { printf("Hello World!\n"); return 0; } demo_and_tools/._typer0000755011670700007650000000030511075655114014667 0ustar schubaschubaMac OS X  2ATTRF>@--com.apple.quarantineq/0000;48ee5a4c;Firefox;|org.mozilla.firefoxdemo_and_tools/typer/0000755011670700007650000000000011075655114014526 5ustar schubaschubademo_and_tools/typer/._bin0000755011670700007650000000030511075655221015436 0ustar schubaschubaMac OS X  2ATTRF>B--com.apple.quarantineq/0000;48ee5a4c;Firefox;|org.mozilla.firefoxdemo_and_tools/typer/bin/0000755011670700007650000000000011075655221015275 5ustar schubaschubademo_and_tools/typer/bin/._typer.os.2008.05-i86.bin0000755011670700007650000000030511013444714021202 0ustar schubaschubaMac OS X  2ATTRF>F--com.apple.quarantineq/0000;48ee5a4c;Firefox;|org.mozilla.firefoxdemo_and_tools/typer/bin/typer.os.2008.05-i86.bin0000755011670700007650000002045011013444714020770 0ustar schubaschubaELFp 4P4 (44o P/usr/lib/ld.so.1%% "#  !$  +  A  M U0 krx @ L  D \    ~ P ` "3: AS` Yf 0 @ p    @!  s!   typerfsr.scrti.svalues-Xa.ccrtstuff.c__do_global_dtors_auxframe_dummytyper.c__do_global_ctors_auxcrtn.s__iob__fsr_init_value_environ_Jv_RegisterClassesmain__environ_lock__1cG__CrunMdo_exit_code6F_v____Argv__register_frame_info_bases_DYNAMIC_mcount__fsrfprintf_get_exit_frame_monitor_edataatexit__longdouble_used_init_lib_version__deregister_frame_info_bases_etext_finifflushusleep_start_exitstrlen_end__fpstart_GLOBAL_OFFSET_TABLE___dso_handle_PROCEDURE_LINKAGE_TABLE_libc.so.1SUNW_0.9SUNWprivate_1.1/usr/sfw/lib(= qN 0%".(,)dh  ! 5%%h%h%h%h%h %h(%h0%h8p%h@`%hHP%hP@%hX0%h` jjt Rh`tdt PE@u T@RU \RP"u\ PPURQ h t`|$уl D$td$у`tƒ 3fd$f T$tfd$f L$l$YZ]ÐUS[R t :ҋu鋃t Pƃ ]ÐUS[óP$tSjPPt,t P]U)EEE;EEE EEEE 4\EEE;E}FEEPhh; h; h@ ;E벃 h4EMUVS[jp@Ћu[^US[;s[US[[%c         & 6 F V f  ` ""X / `H``` `@oo oh(  o`o`` HX    (   p  ` @ `*d=hRl ]dp@{    &.;HVb0 x @ L  D \    ( ~ /P 6` "NU \n` t 0 @ p    @!  !.   typerfsr.s__get_exit_frame_monitor_ptr__do_exit_code_ptr__fsr_init_value_ptrtrap_tablecrti.svalues-Xa.cDdata.dataBbss.bssDrodata.rodataDpicdata.picdatacrtstuff.c__CTOR_LIST____DTOR_LIST____EH_FRAME_BEGIN____JCR_LIST__p.0completed.1__do_global_dtors_auxobject.2frame_dummytyper.c__CTOR_END____DTOR_END____FRAME_END____JCR_END____do_global_ctors_auxcrtn.s_END__START___iob__fsr_init_value_environ_Jv_RegisterClassesmain__environ_lock__1cG__CrunMdo_exit_code6F_v____Argv__register_frame_info_bases_DYNAMIC_mcount__fsrfprintf_get_exit_frame_monitor_edataatexit__longdouble_used_init_lib_version__deregister_frame_info_bases_etext_finifflushusleep_start_exitstrlen_end__fpstart_GLOBAL_OFFSET_TABLE___dso_handle_PROCEDURE_LINKAGE_TABLE_@(#)SunOS 5.11 snv_86 January 2008@(#)SunOS 5.11 snv_86 January 2008@(#)SunOS 5.11 snv_86 January 2008GCC: (GNU) 3.4.3 (csl-sol210-3_4-20050802)GCC: (GNU) 3.4.3 (csl-sol210-3_4-20050802)GCC: (GNU) 3.4.3 (csl-sol210-3_4-20050802)@(#)SunOS 5.11 snv_86 January 2008ld: Software Generation Utilities - Solaris Link Editors: 5.11-1.622.interp.SUNW_cap.hash.SUNW_ldynsym.dynsym.dynstr.SUNW_version.SUNW_dynsymsort.SUNW_reloc.rel.plt.text.init.fini.rodata.got.dynamic.data.bssf.picdata.ctors.dtors.eh_frame.jcr.data.rel.local.bss.symtab.strtab.comment.shstrtab o0oHH ' P/"XX/7o  0Eo  @V   0b B( ( h f  kp p q``w} LP@@T0? Y Sdemo_and_tools/typer/bin/._typer.osx-i86.bin0000755011670700007650000000030511013444301020547 0ustar schubaschubaMac OS X  2ATTRF>H--com.apple.quarantineq/0000;48ee5a4c;Firefox;|org.mozilla.firefoxdemo_and_tools/typer/bin/typer.osx-i86.bin0000755011670700007650000003063011013444301020336 0ustar schubaschuba 8__PAGEZERO|__TEXT__text__TEXT=__DATA __data__DATA __dyld__DATA __IMPORT0 __pointers__IMPORT0 __jump_table__IMPORT@0@ 8__LINKEDIT@000 P 0 /usr/lib/dyld$uqP 4/usr/lib/libgcc_s.1.dylib 4o/usr/lib/libSystem.B.dylibj]\$ML$ˉ\$u\$ ,D$AX XUWS0[EEEE EEEE E}HEEEEET$$$$@ EE;E|$ oEE;ER0[_   . @ H P \p y"  dyld_stub_binding_helper__dyld_func_lookupdyld__mach_header_NXArgc_NXArgv___progname__mh_execute_header_environ_mainstart___stdoutp_exit_fflush_fputc_putchar_usleep$UNIX2003demo_and_tools/typer/._src0000755011670700007650000000030511075655221015455 0ustar schubaschubaMac OS X  2ATTRF>J--com.apple.quarantineq/0000;48ee5a4c;Firefox;|org.mozilla.firefoxdemo_and_tools/typer/src/0000755011670700007650000000000011075655221015314 5ustar schubaschubademo_and_tools/typer/src/._Makefile.typer0000644011670700007650000000012211073475303020325 0ustar schubaschubaMac OS X  2 RTEXTEMAxdemo_and_tools/typer/src/Makefile.typer0000644011670700007650000000035311073475303020116 0ustar schubaschuba# # Makefile for typer application # all: compile compile: gcc -o typer typer.c test: compile -@clear typer -@echo typer hello world -@echo clean:: -@rm -rf *~ clobber: clean -@touch ./.junkie -@rm -rf ./.junkie typer demo_and_tools/typer/src/._typer.c0000644011670700007650000000012211013444033017020 0ustar schubaschubaMac OS X  2 RTEXTEMAxdemo_and_tools/typer/src/typer.c0000644011670700007650000000072311013444033016612 0ustar schubaschuba#include #include #include #define DELAY 200*1000 int main(int argc, char *argv[]) { int argc_i = 0; for (argc_i = 1; argc_i < argc; argc_i++) { char *str = argv[argc_i]; int str_i = 0; int str_len = strlen(argv[argc_i]); for (str_i = 0; str_i < str_len; str_i++) { fprintf(stdout, "%c",str[str_i]); fflush(stdout); usleep(DELAY); } // str_i printf(" "); } // argc_i return 0; } demo_and_tools/._wait4enter0000755011670700007650000000030511015355705015607 0ustar schubaschubaMac OS X  2ATTRF>R--com.apple.quarantineq/0000;48ee5a4c;Firefox;|org.mozilla.firefoxdemo_and_tools/wait4enter/0000755011670700007650000000000011015355705015446 5ustar schubaschubademo_and_tools/wait4enter/._bin0000755011670700007650000000030511075655221016361 0ustar schubaschubaMac OS X  2ATTRF>T--com.apple.quarantineq/0000;48ee5a4c;Firefox;|org.mozilla.firefoxdemo_and_tools/wait4enter/bin/0000755011670700007650000000000011075655221016220 5ustar schubaschubademo_and_tools/wait4enter/bin/._wait4enter.os.2008.05.bin0000755011670700007650000000030511013116347022442 0ustar schubaschubaMac OS X  2ATTRF>X--com.apple.quarantineq/0000;48ee5a4c;Firefox;|org.mozilla.firefoxdemo_and_tools/wait4enter/bin/wait4enter.os.2008.05.bin0000755011670700007650000001763011013116347022236 0ustar schubaschubaELF 44 (44ol l l l  P/usr/lib/ld.so.1%!   %0  F0  R%_  u|  ^       P ~ & ">hE0  K( RDdh q l P H   !H8 X }!l H  wait4enterfsr.scrti.svalues-Xa.ccrtstuff.c__do_global_dtors_auxframe_dummywait4enter.c__do_global_ctors_auxcrtn.s__iob__fsr_init_value_Jv_RegisterClasses_environmain__environ_lock__1cG__CrunMdo_exit_code6F_v____Argv__register_frame_info_bases_DYNAMIC__filbuf_mcount__fsr_get_exit_frame_monitor_edata_initatexit__longdouble_used_lib_version__deregister_frame_info_bases_etext_fini_exit_start_end__fpstart_GLOBAL_OFFSET_TABLE___dso_handle_PROCEDURE_LINKAGE_TABLE_libc.so.1SUNWprivate_1.1SYSVABI_1.3/usr/sfw/libqN 7,$"*%)&    x |        5p %t %x h%| h% h% h% h % h(% h0% h8p% h@`jj츨 t R[hP Ntt P-Eu TRU RP"\ PPURQ  t`|$у$ D$td$у`tƒ 3fd$f T$tfd$f L$l$YZ]ÐUS[ÏRt :ҋu鋃t PHƃ]ÐUS[3P$tSjPPt,t P]U) =y hEEEEUVS[np@Ћu[^US[3[US[o[ . > N ^ n ~     0  P  ( `8```` `@oxo0 oH  xo`o`l  X80 `       0  P h l  LLLT\`dhH /B W$ biuhh LLT\`dh  l0  +8PEXR\``l     ^   ! * 3  ;P ~ A "Yh`0  f( mDh  l P H   !H8 X !l H  wait4enterfsr.s__get_exit_frame_monitor_ptr__do_exit_code_ptr__fsr_init_value_ptrtrap_tablecrti.svalues-Xa.cDdata.dataBbss.bssDrodata.rodataDpicdata.picdatacrtstuff.c__CTOR_LIST____DTOR_LIST____EH_FRAME_BEGIN____JCR_LIST__p.0completed.1__do_global_dtors_auxobject.2frame_dummywait4enter.c__CTOR_END____DTOR_END____FRAME_END____JCR_END____do_global_ctors_auxcrtn.s_END__START___iob__fsr_init_value_Jv_RegisterClasses_environmain__environ_lock__1cG__CrunMdo_exit_code6F_v____Argv__register_frame_info_bases_DYNAMIC__filbuf_mcount__fsr_get_exit_frame_monitor_edata_initatexit__longdouble_used_lib_version__deregister_frame_info_bases_etext_fini_exit_start_end__fpstart_GLOBAL_OFFSET_TABLE___dso_handle_PROCEDURE_LINKAGE_TABLE_@(#)SunOS 5.11 snv_86 January 2008@(#)SunOS 5.11 snv_86 January 2008@(#)SunOS 5.11 snv_86 January 2008GCC: (GNU) 3.4.3 (csl-sol210-3_4-20050802)GCC: (GNU) 3.4.3 (csl-sol210-3_4-20050802)GCC: (GNU) 3.4.3 (csl-sol210-3_4-20050802)@(#)SunOS 5.11 snv_86 January 2008ld: Software Generation Utilities - Solaris Link Editors: 5.11-1.622.interp.SUNW_cap.hash.SUNW_ldynsym.dynsym.dynstr.SUNW_version.SUNW_dynsymsort.SUNW_reloc.rel.plt.text.init.fini.rodata.got.dynamic.data.bssf.picdata.ctors.dtors.eh_frame.jcr.data.rel.local.bss.symtab.strtab.comment.shstrtab o o88 ' /"(7o0 0 0Eo` ` @V   0b B  H f  k  lq0 0 wP P }h h l l <  PTLLLLLLTT\\``ddhhh? XhY demo_and_tools/wait4enter/bin/._wait4enter.osx-1386.bin0000755011670700007650000000030511013116371022413 0ustar schubaschubaMac OS X  2ATTRF>Z--com.apple.quarantineq/0000;48ee5a4c;Firefox;|org.mozilla.firefoxdemo_and_tools/wait4enter/bin/wait4enter.osx-1386.bin0000755011670700007650000003045411013116371022206 0ustar schubaschuba |8__PAGEZERO|__TEXT__text__TEXTw__DATA __data__DATA __dyld__DATA |__IMPORT0 __jump_table__IMPORT0 8__LINKEDIT@0,0 0 P 0 /usr/lib/dyld*lh|f @I%DP 4/usr/lib/libgcc_s.1.dylib 4o/usr/lib/libSystem.B.dylibj]\$ML$ˉ\$u\$ ,D$9XCGX7UE   . @ H P \p y dyld_stub_binding_helper__dyld_func_lookupdyld__mach_header_NXArgc_NXArgv___progname__mh_execute_header_environ_mainstart_exit_getchardemo_and_tools/wait4enter/._src0000755011670700007650000000030511075655221016400 0ustar schubaschubaMac OS X  2ATTRF>\--com.apple.quarantineq/0000;48ee5a4c;Firefox;|org.mozilla.firefoxdemo_and_tools/wait4enter/src/0000755011670700007650000000000011075655221016237 5ustar schubaschubademo_and_tools/wait4enter/src/._Makefile.wait4enter0000644011670700007650000000012211073475332022175 0ustar schubaschubaMac OS X  2 RTEXTEMAxdemo_and_tools/wait4enter/src/Makefile.wait4enter0000644011670700007650000000034311073475332021765 0ustar schubaschuba# # Makefile for typer application # all: compile compile: gcc -o wait4enter wait4enter.c test: compile -@clear wait4enter -@echo clean:: -@rm -rf *~ clobber: clean -@touch ./.junkie -@rm -rf ./.junkie wait4enter demo_and_tools/wait4enter/src/._wait4enter.c0000644011670700007650000000012211015355746020704 0ustar schubaschubaMac OS X  2 RTEXTEMAxdemo_and_tools/wait4enter/src/wait4enter.c0000644011670700007650000000013611015355746020474 0ustar schubaschuba#include int main(int argc, char* argv[]) { int c = getchar(); return 0; }