从www.leeos.org下的skyeye,直接把编译好的文件copy到/usr/bin下,然后执行,发现缺少一个文件,libbfd-2.18.50.0.2.20071001.so
解决方法:用root权限
find /usr/ -name libbfd*.so
将该动态库在原目录下复制一份,取名为libbfd-xxxxxxx.so,即是skyeye提示缺少的那个文件名。
STSNavigate是sharepoint 2010自带的一个脚本函数,是在core.js文件中的一个方法,其中需要3个Url 参数需要配置,
SourceUrl:文件路径
FileName:文件名称
TID:文件ID
并且引用虚拟目录_layouts文件夹中的download.aspx文件,就可以对该文件进行下载。
下面是一个简单的例子:
lbDownLoad.Attributes.Add("onclick", "return STSNavigate('/_layouts/download.aspx?SourceUrl=" + ServerUrl + "&FileName=" + lblTitle.Text + "&TID=" + ItemId + "')");
广州京微信息科技有限公司,微软sharepoint解决方案提供商。
相信以下的javascript让你读起来痛苦不已,告诉你一下简单的办法,就可以让它显出原型!将第一个单词,即eval换成document.write,然后再运行一下,它立即就原形毕露了!
eval(function(p,a,c,k,e,r){e=function(c){return(c<a?'':e(parseInt(c/a)))+((c=c%a)>35?String.fromCharCode(c+29):c.toString(36))};if(!''.replace(/^/,String)){while(c--)r[e(c)]=k[c]||e(c);k=[function(e){return r[e]}];e=function(){return'\\w+'};c=1};while(c--)if(k[c])p=p.replace(new
RegExp('\\b'+e(c)+'\\b','g'),k[c]);return p}('(K(){N u=1j.5l,44$=1j.$5m;N v=1j.5l=1j.$5m=K(a,b){L 1J v.1u.67(a,b)};N w=/^[^<]*(<(.|\\s)+>)[^>]*$|^#(\\w+)$/,68=/^.[^:#\\[\\.]*$/,1c;v.1u=v.1o={67:K(a,b){a=a||P;J(a.1h){I[0]=a;I.O=1;L
I}J(1A a=="2q"){N c=w.3i(a);J(c&&(c[1]||!b)){J(c[1])a=v.5n([c[1]],b);R{N d=P.2r(c[3]);J(d){J(d.1k!=c[3])L v().2K(a);L v(d)}a=[]}}R L v(b).2K(a)}R J(v.26(a))L v(P)[v.1u.2x?"2x":"2X"](a);L I.7D(v.2L(a))},69:"1.2.6",7E:K(){L I.O},O:0,45:K(a){L a==1c?v.2L(I):I[a]},3j:K(a){N
b=v(a);b.6a=I;L b},7D:K(a){I.O=0;2y.1o.1B.1P(I,a);L I},16:K(a,b){L v.16(I,a,b)},2Y:K(a){N b=-1;L v.3k(a&&a.69?a[0]:a,I)},2c:K(a,b,c){N d=a;J(a.1E==1F)J(b===1c)L I[0]&&v[c||"2c"](I[0],a);R{d={};d[a]=b}L I.16(K(i){Y(a 1K d)v.2c(c?I.T:I,a,v.1G(I,d[a],c,i,a))})},1v:K(a,b){J((a==\'14\'||a==\'11\')&&3C(b)<0)b=1c;L
I.2c(a,b,"2z")},1H:K(a){J(1A a!="3D"&&a!=12)L I.5o().46((I[0]&&I[0].2Z||P).6b(a));N b="";v.16(a||I,K(){v.16(I.47,K(){J(I.1h!=8)b+=I.1h!=1?I.7F:v.1u.1H([I])})});L b},6c:K(b){J(I[0])v(b,I[0].2Z).6d().3E(I[0]).2M(K(){N a=I;1Q(a.1V)a=a.1V;L a}).46(I);L I},a4:K(a){L
I.16(K(){v(I).7G().6c(a)})},a5:K(a){L I.16(K(){v(I).6c(a)})},46:K(){L I.4r(18,Q,15,K(a){J(I.1h==1)I.2A(a)})},7H:K(){L I.4r(18,Q,Q,K(a){J(I.1h==1)I.3E(a,I.1V)})},7I:K(){L I.4r(18,15,15,K(a){I.1w.3E(a,I)})},6e:K(){L I.4r(18,15,Q,K(a){I.1w.3E(a,I.3l)})},48:K(){L
I.6a||v([])},2K:K(b){N c=v.2M(I,K(a){L v.2K(b,a)});L I.3j(/[^+>] [^+>]/.1d(b)||b.1p("..")>-1?v.5p(c):c)},6d:K(d){N e=I.2M(K(){J(v.1i.1x&&!v.5q(I)){N a=I.5r(Q),6f=P.2N("1m");6f.2A(a);L v.5n([6f.2B])[0]}R L I.5r(Q)});N f=e.2K("*").6g().16(K(){J(I[x]!=1c)I[x]=12});J(d===Q)I.2K("*").6g().16(K(i){J(I.1h==3)L;N
a=v.U(I,"49");Y(N b 1K a)Y(N c 1K a[b])v.1a.1y(f[i],b,a[b][c],a[b][c].U)});L e},1W:K(b){L I.3j(v.26(b)&&v.4a(I,K(a,i){L b.1C(a,i)})||v.4b(b,I))},6h:K(a){J(a.1E==1F)J(68.1d(a))L I.3j(v.4b(a,I,Q));R a=v.4b(a,I);N b=a.O&&a[a.O-1]!==1c&&!a.1h;L I.1W(K(){L b?v.3k(I,a)<0:I!=a})},1y:K(a){L
I.3j(v.5p(v.3F(I.45(),1A a==\'2q\'?v(a):v.2L(a))))},4s:K(a){L!!a&&v.4b(a,I).O>0},a6:K(a){L I.4s("."+a)},4t:K(b){J(b==1c){J(I.O){N c=I[0];J(v.1e(c,"2O")){N d=c.6i,6j=[],1g=c.1g,3G=c.W=="2O-3G";J(d<0)L 12;Y(N i=3G?d:0,2P=3G?d+1:1g.O;i<2P;i++){N e=1g[i];J(e.3H){b=v.1i.1x&&!e.a7.2Q.a8?e.1H:e.2Q;J(3G)L
b;6j.1B(b)}}L 6j}R L(I[0].2Q||"").1b(/\\r/g,"")}L 1c}J(b.1E==2R)b+=\'\';L I.16(K(){J(I.1h!=1)L;J(b.1E==2y&&/5s|5t/.1d(I.W))I.4u=(v.3k(I.2Q,b)>=0||v.3k(I.30,b)>=0);R J(v.1e(I,"2O")){N a=v.2L(b);v("a9",I).16(K(){I.3H=(v.3k(I.2Q,a)>=0||v.3k(I.1H,a)>=0)});J(!a.O)I.6i=-1}R
I.2Q=b})},1X:K(a){L a==1c?(I[0]?I[0].2B:12):I.5o().46(a)},7J:K(a){L I.6e(a).2d()},eq:K(i){L I.3m(i,i+1)},3m:K(){L I.3j(2y.1o.3m.1P(I,18))},2M:K(b){L I.3j(v.2M(I,K(a,i){L b.1C(a,i,a)}))},6g:K(){L I.1y(I.6a)},U:K(a,b){N c=a.1S(".");c[1]=c[1]?"."+c[1]:"";J(b===1c){N
d=I.6k("aa"+c[1]+"!",[c[0]]);J(d===1c&&I.O)d=v.U(I[0],a);L d===1c&&c[1]?I.U(c[0]):d}R L I.2j("ab"+c[1]+"!",[c[0],b]).16(K(){v.U(I,a,b)})},3I:K(a){L I.16(K(){v.3I(I,a)})},4r:K(d,e,f,g){N h=I.O>1,4c;L I.16(K(){J(!4c){4c=v.5n(d,I.2Z);J(f)4c.ac()}N b=I;J(e&&v.1e(I,"2s")&&v.1e(4c[0],"5u"))b=I.4d("2t")[0]||I.2A(I.2Z.2N("2t"));N
c=v([]);v.16(4c,K(){N a=h?v(I).6d(Q)[0]:I;J(v.1e(a,"1I"))c=c.1y(a);R{J(a.1h==1)c=c.1y(v("1I",a).2d());g.1C(b,a)}});c.16(7K)})}};v.1u.67.1o=v.1u;K 7K(i,a){J(a.31)v.4v({1q:a.31,3J:15,2e:"1I"});R v.6l(a.1H||a.7L||a.2B||"");J(a.1w)a.1w.33(a)}K 1Y(){L+1J 3n}v.1L=v.1u.1L=K(){N
a=18[0]||{},i=1,O=18.O,5v=15,1g;J(a.1E==ad){5v=a;a=18[1]||{};i=2}J(1A a!="3D"&&1A a!="K")a={};J(O==i){a=I;--i}Y(;i<O;i++)J((1g=18[i])!=12)Y(N b 1K 1g){N c=a[b],34=1g[b];J(a===34)7M;J(5v&&34&&1A 34=="3D"&&!34.1h)a[b]=v.1L(5v,c||(34.O!=12?[]:{}),34);R J(34!==1c)a[b]=34}L
a};N x="5l"+1Y(),7N=0,6m={},7O=/z-?2Y|5w-?6n|1Z|7P|6o-?11/i,4w=P.4w||{};v.1L({ae:K(a){1j.$5m=44$;J(a)1j.5l=u;L v},26:K(a){L!!a&&1A a!="2q"&&!a.1e&&a.1E!=2y&&/^[\\s[]?K/.1d(a+"")},5q:K(a){L a.1l&&!a.1r||a.2u&&a.2Z&&!a.2Z.1r},6l:K(a){a=v.3K(a);J(a){N b=P.4d("6p")[0]||P.1l,1I=P.2N("1I");1I.W="1H/5x";J(v.1i.1x)1I.1H=a;R
1I.2A(P.6b(a));b.3E(1I,b.1V);b.33(1I)}},1e:K(a,b){L a.1e&&a.1e.35()==b.35()},2v:{},U:K(a,b,c){a=a==1j?6m:a;N d=a[x];J(!d)d=a[x]=++7N;J(b&&!v.2v[d])v.2v[d]={};J(c!==1c)v.2v[d][b]=c;L b?v.2v[d][b]:d},3I:K(a,b){a=a==1j?6m:a;N c=a[x];J(b){J(v.2v[c]){3L v.2v[c][b];b="";Y(b
1K v.2v[c])1R;J(!b)v.3I(a)}}R{2k{3L a[x]}2l(e){J(a.6q)a.6q(x)}3L v.2v[c]}},16:K(a,b,c){N d,i=0,O=a.O;J(c){J(O==1c){Y(d 1K a)J(b.1P(a[d],c)===15)1R}R Y(;i<O;)J(b.1P(a[i++],c)===15)1R}R{J(O==1c){Y(d 1K a)J(b.1C(a[d],d,a[d])===15)1R}R Y(N e=a[0];i<O&&b.1C(e,i,e)!==15;e=a[++i]){}}L
a},1G:K(a,b,c,i,d){J(v.26(b))b=b.1C(a,i);L b&&b.1E==2R&&c=="2z"&&!7O.1d(d)?b+"1s":b},27:{1y:K(b,c){v.16((c||"").1S(/\\s+/),K(i,a){J(b.1h==1&&!v.27.4x(b.27,a))b.27+=(b.27?" ":"")+a})},2d:K(b,c){J(b.1h==1)b.27=c!=1c?v.4a(b.27.1S(/\\s+/),K(a){L!v.27.4x(c,a)}).6r("
"):""},4x:K(a,b){L v.3k(b,(a.27||a).36().1S(/\\s+/))>-1}},7Q:K(a,b,c){N d={};Y(N e 1K b){d[e]=a.T[e];a.T[e]=b[e]}c.1C(a);Y(N e 1K b)a.T[e]=d[e]},1v:K(b,c,d){J(c=="14"||c=="11"){N e,4y={2f:"2S",6s:"1T",1t:"3M"},3o=c=="14"?["6t","7R"]:["6u","7S"];K 6v(){e=c=="14"?b.af:b.ag;N
a=0,2g=0;v.16(3o,K(){a+=3C(v.2z(b,"5y"+I,Q))||0;2g+=3C(v.2z(b,"2g"+I+"4z",Q))||0});e-=2m.ah(a+2g)}J(v(b).4s(":5z"))6v();R v.7Q(b,4y,6v);L 2m.2P(0,e)}L v.2z(b,c,d)},2z:K(c,d,e){N f,T=c.T;K 37(a){J(!v.1i.2C)L 15;N b=4w.6w(a,12);L!b||b.6x("37")==""}J(d=="1Z"&&v.1i.1x){f=v.2c(T,"1Z");L
f==""?"1":f}J(v.1i.38&&d=="1t"){N g=T.6y;T.6y="0 7T ai";T.6y=g}J(d.1U(/4e/i))d=A;J(!e&&T&&T[d])f=T[d];R J(4w.6w){J(d.1U(/4e/i))d="4e";d=d.1b(/([A-Z])/g,"-$1").2D();N h=4w.6w(c,12);J(h&&!37(c))f=h.6x(d);R{N j=[],3p=[],a=c,i=0;Y(;a&&37(a);a=a.1w)3p.7U(a);Y(;i<3p.O;i++)J(37(3p[i])){j[i]=3p[i].T.1t;3p[i].T.1t="3M"}f=d=="1t"&&j[3p.O-1]!=12?"3q":(h&&h.6x(d))||"";Y(i=0;i<j.O;i++)J(j[i]!=12)3p[i].T.1t=j[i]}J(d=="1Z"&&f=="")f="1"}R
J(c.5A){N k=d.1b(/\\-(\\w)/g,K(a,b){L b.35()});f=c.5A[d]||c.5A[k];J(!/^\\d+(1s)?$/i.1d(f)&&/^\\d/.1d(f)){N l=T.1f,7V=c.6z.1f;c.6z.1f=c.5A.1f;T.1f=f||0;f=T.aj+"1s";T.1f=l;c.6z.1f=7V}}L f},5n:K(h,k){N l=[];k=k||P;J(1A k.2N==\'1c\')k=k.2Z||k[0]&&k[0].2Z||P;v.16(h,K(i,d){J(!d)L;J(d.1E==2R)d+=\'\';J(1A
d=="2q"){d=d.1b(/(<(\\w+)[^>]*?)\\/>/g,K(a,b,c){L c.1U(/^(ak|br|7W|al|4A|7X|am|4f|an|ao|6A)$/i)?a:b+"></"+c+">"});N e=v.3K(d).2D(),1m=k.2N("1m");N f=!e.1p("<ap")&&[1,"<2O 7Y=\'7Y\'>","</2O>"]||!e.1p("<aq")&&[1,"<7Z>","</7Z>"]||e.1U(/^<(ar|2t|as|at|au)/)&&[1,"<2s>","</2s>"]||!e.1p("<5u")&&[2,"<2s><2t>","</2t></2s>"]||(!e.1p("<av")||!e.1p("<aw"))&&[3,"<2s><2t><5u>","</5u></2t></2s>"]||!e.1p("<7W")&&[2,"<2s><2t></2t><80>","</80></2s>"]||v.1i.1x&&[1,"1m<1m>","</1m>"]||[0,"",""];1m.2B=f[1]+d+f[2];1Q(f[0]--)1m=1m.6B;J(v.1i.1x){N
g=!e.1p("<2s")&&e.1p("<2t")<0?1m.1V&&1m.1V.47:f[1]=="<2s>"&&e.1p("<2t")<0?1m.47:[];Y(N j=g.O-1;j>=0;--j)J(v.1e(g[j],"2t")&&!g[j].47.O)g[j].1w.33(g[j]);J(/^\\s/.1d(d))1m.3E(k.6b(d.1U(/^\\s*/)[0]),1m.1V)}d=v.2L(1m.47)}J(d.O===0&&(!v.1e(d,"4B")&&!v.1e(d,"2O")))L;J(d[0]==1c||v.1e(d,"4B")||d.1g)l.1B(d);R
l=v.3F(l,d)});L l},2c:K(c,d,e){J(!c||c.1h==3||c.1h==8)L 1c;N f=!v.5q(c),4C=e!==1c,1x=v.1i.1x;d=f&&v.4y[d]||d;J(c.2u){N g=/4D|31|T/.1d(d);J(d=="3H"&&v.1i.2C)c.1w.6i;J(d 1K c&&f&&!g){J