如何得到掏宝图片的真实地址?(20分)

  • 主题发起人 主题发起人 macrolen
  • 开始时间 开始时间
M

macrolen

Unregistered / Unconfirmed
GUEST, unregistred user!
如何编程解析出掏宝图片的真实地址呢?之前见过人家用FLASH做的一个读取器。
http://www.taobao.com/view_image.php?pic=Wx0GGlFDXA1VVVRXWx0SCwkNGVxbVl8cVllcRgcaBwMSAF1QHABFWUVUX11CXV4IAhxSCQFdQV5ZVBFWAA0AB0ZdSwZeXUUWWg0KAFJbBVlBCTRcR1cNBAIcHxkU&title=t%2BfQ0NDj0sIwNrqrsObPxMvpu6jMx7n7ssq75mFmv6q0%2BMOxyrHJ0FTQ9DA2NjLM2LzbNjjUqg%3D%3D&version=2&c=YTRjYTQ0YWZkYWRlZThhNjAyNmQ5OTk2Mjk0NjBlOGU%3D
 
装个封包拦截的软件看看地址,也许等知道了密文和明文的两个文本才能分析加密算法。
 
// Action script...

// [onClipEvent of sprite 1 in frame 1]
onClipEvent (data)
{
_root.picShow();
}

on (press)
{
_root.pic.startDrag(false);
}

on (release)
{
_root.pic.stopDrag();
if (Number(getTimer() - _root.lastClickTime) < 250)
{
getURL(&quot;javascript:cls();&quot;);
}
else
{
_root.lastClickTime = getTimer();
} // end if
}

on (keyPress &quot;=&quot;)
{
_root.picZoom(1.100000E+000);
}

on (keyPress &quot;-&quot;)
{
_root.picZoom(9.090909E-001);
}

on (keyPress &quot;<Home>&quot;)
{
_root.picRefresh();
}

on (keyPress &quot;<End>&quot;)
{
_root.picActualSize();
}

on (keyPress &quot;<Left>&quot;)
{
_root.pic._x = _root.pic._x - 10;
_root.picMoveInStage();
}

on (keyPress &quot;<Right>&quot;)
{
_root.pic._x = _root.pic._x + 10;
_root.picMoveInStage();
}

on (keyPress &quot;<Up>&quot;)
{
_root.pic._y = _root.pic._y - 10;
_root.picMoveInStage();
}

on (keyPress &quot;<Down>&quot;)
{
_root.pic._y = _root.pic._y + 10;
_root.picMoveInStage();
}

// [onClipEvent of sprite 7 in frame 1]
onClipEvent (enterFrame)
{
if (_root.isZooming == true)
{
_root.picZoom(_root.picZoomRatio);
} // end if
}

// [onClipEvent of sprite 8 in frame 1]
onClipEvent (enterFrame)
{
_root.refreshWatermark();
}

// [Action in Frame 1]
function picShow()
{
with (_root.pic)
{
_root.picWidth = _width;
_root.picHeight = _height;
} // End of with
_root.picFitToStage();
_root.picMoveToCenter();
_root.shopName._visible = true;
_root.refreshWatermark();
stageListener = new Object();
stageListener.onResize = function ()
{
var _loc1 = _root;
if (_loc1.pic)
{
_loc1.picFitToStage();
_loc1.picMoveToCenter();
} // end if
};
Stage.addListener(stageListener);
} // End of the function
function picFitToStage()
{
with (_root.pic)
{
_width = _root.picWidth;
_height = _root.picHeight;
sWidth = Stage.width;
sHeight = Stage.height - menuHeight;
if (_width > sWidth || _height > sHeight)
{
if (_width / sWidth >= _height / sHeight)
{
_height = _height / _width * sWidth;
_width = sWidth;
}
else
{
_width = _width / _height * sHeight;
_height = sHeight;
} // end if
} // end if
} // End of with
} // End of the function
function picRefresh()
{
var _loc1 = _root;
_loc1.picFitToStage();
_loc1.picMoveToCenter();
_loc1.refreshWatermark();
} // End of the function
function picZoom(ratio)
{
with (_root.pic)
{
_x = _x - _width * (ratio / 2 - 5.000000E-001);
_y = _y - _height * (ratio / 2 - 5.000000E-001);
_width = _width * ratio;
_height = _height * ratio;
} // End of with
_root.picMoveInStage();
_root.refreshWatermark();
} // End of the function
function picActualSize()
{
with (_root.pic)
{
_x = _x + (_width - _root.picWidth) / 2;
_y = _y + (_height - _root.picHeight) / 2;
_width = _root.picWidth;
_height = _root.picHeight;
} // End of with
_root.picMoveInStage();
_root.refreshWatermark();
} // End of the function
function picIsOutStage()
{
with (_root.pic)
{
if (_x > Stage.width || _x + _width < 0 || _y > Stage.height || _y + _height < _root.menuHeight)
{
return (true);
}
else
{
return (false);
} // end if
} // End of with
} // End of the function
function picMoveToCenter()
{
var _loc1 = _root;
_loc1.pic._x = (Stage.width - _loc1.pic._width) / 2;
_loc1.pic._y = (Stage.height - _loc1.menuHeight - _loc1.pic._height) / 2 + _loc1.menuHeight;
} // End of the function
function picMoveInStage()
{
if (_root.picIsOutStage())
{
_root.picMoveToCenter();
} // end if
} // End of the function
function refreshWatermark()
{
var _loc1 = _root;
shopName._width = _loc1.pic._width / 3;
shopName._height = shopName._width * 25 / 213;
shopName._x = _loc1.pic._x + _loc1.pic._width - shopName._width - 1;
shopName._y = _loc1.pic._y + _loc1.pic._height - shopName._height - 1;
} // End of the function
function becode(opString)
{
var _loc2 = opString;
var _loc3 = &quot;ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/&quot;;
var bits;
var decOut = new Array();
var _loc1 = 0;
var j = 0;
for (var _loc1 = 0; _loc1 < _loc2.length; _loc1 = _loc1 + 4)
{
bits = (_loc3.indexOf(_loc2.charAt(_loc1)) & 255) << 18 | (_loc3.indexOf(_loc2.charAt(_loc1 + 1)) & 255) << 12 | (_loc3.indexOf(_loc2.charAt(_loc1 + 2)) & 255) << 6 | _loc3.indexOf(_loc2.charAt(_loc1 + 3)) & 255;
decOut[j++] = (bits & 16711680) >> 16;
decOut[j++] = (bits & 65280) >> 8;
decOut[j++] = bits & 255;
} // end of for
if (_loc2.charCodeAt(_loc1 - 2) == 61)
{
decOut.pop();
decOut.pop();
}
else if (_loc2.charCodeAt(_loc1 - 1) == 61)
{
decOut.pop();

} // end if
return (decOut);
} // End of the function
function cecode(var1)
{
var _loc3 = becode(var1);
var _loc2 = &quot;&quot;;
for (var _loc1 = 0; _loc1 < _loc3.length; ++_loc1)
{
_loc2 = _loc2.concat(String.fromCharCode(_loc3[_loc1]));
} // end of for
return (_loc2);
} // End of the function
function decode(var1, key)
{
var _loc3 = var1;
_loc3 = becode(_loc3);
var2 = &quot;&quot;;
var _loc2 = 0;
for (var _loc1 = 0; _loc1 < _loc3.length; ++_loc1)
{
var2 = var2.concat(String.fromCharCode(_loc3[_loc1] ^ key.charCodeAt(_loc2++)));
if (_loc2 >= key.length)
{
_loc2 = 0;
} // end if
} // end of for
return (var2);
} // End of the function
setProperty(&quot;&quot;, _quality, &quot;BEST&quot;);
Stage.scaleMode = &quot;noScale&quot;;
Stage.align = &quot;TL&quot;;
Stage.showMenu = false;
var picURL;
picURL = pURL;
picURL = decode(picURL, &quot;3irjklsd8432uisdklvr892348&quot;);
var picTitle;
picTitle = cecode(pTitle);
var shopNameStr;
shopNameStr = cecode(pCode);
var picWidth = 0;
var picHeight = 0;
var menuHeight = 30;
var isZooming = false;
var picZoomRatio = 1;
var lastClickTime = 0;
var curToolTip = &quot;&quot;;
itemTitle.text = picTitle;
shopName.shopNameString.text = shopNameStr;
_root.shopName._visible = false;
_root.pic.loadMovie(picURL);
 
呦~AS的
DELPHI的话如何弄~
 

Similar threads

D
回复
0
查看
2K
DelphiTeacher的专栏
D
D
回复
0
查看
1K
DelphiTeacher的专栏
D
D
回复
0
查看
1K
DelphiTeacher的专栏
D
后退
顶部