|
Menu |
|
|
Home |
| |
|
Discussions |
| |
|
Tools |
| |
|
Affiliates |
| |
|
Content |
| |
|
Info |
| | |
|
|
|
|
|
User Info |
|
Membership:
Latest: MichaelSnaRe
New Today: 0
New Yesterday: 0
Overall: 9144
People Online:
Visitors: 46
Members: 0
Total: 46
|
|
|
|
|
|
Full disclosure |
|
|
|
|
|
|
|
|
|
IT Security and Insecurity Portal |
|
|
Decode this please |
|
Posted: Wed Mar 16, 2011 12:12 am |
|
|
BlakW |
Beginner |
|
|
Joined: Mar 16, 2011 |
Posts: 3 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Posted: Wed Mar 16, 2011 12:09 pm |
|
|
zerobytes |
Valuable expert |
|
|
Joined: Aug 30, 2008 |
Posts: 199 |
|
|
|
|
|
|
|
Code: |
<localhost>
<html><head>
<title>WT Calculator</title>
<script type="text/javascript">
function searchArray(array, string){
for (var i=0; i < array.length; i++){
if (array[i] == string) {
return true;
}
}
}
function checkIt(evt) {
evt = (evt) ? evt : window.event
var charCode = (evt.which) ? evt.which : evt.keyCode
if (charCode > 31 && (charCode < 48 || charCode > 57)) {
return false
}
return true
}
function updatePrices(){
var nonWorlds = new Array('Astera', 'Calmera', 'Candia', 'Celesta', 'Fidera', 'Guardia', 'Harmonia', 'Honera', 'Luminera', 'Magera', 'Menera', 'Nerana', 'Olympa', 'Pacera', 'Refugia', 'Secura', 'Unitera');
var pvpWorlds = new Array('Aldora', 'Amera', 'Antica', 'Arcania', 'Askara', 'Aurea', 'Azura', 'Balera', 'Berylia', 'Chimera', 'Danera', 'Danubia', 'Elera', 'Elysia', 'Empera', 'Eternia', 'Fortera', 'Furora', 'Galana', 'Grimera', 'Hiberna', 'Iridia', 'Isara', 'Jamera', 'Julera', 'Keltera', 'Kyra', 'Libera', 'Lucera', 'Lunara', 'Malvera', 'Morgana', 'Mythera', 'Nebula', 'Neptera', 'Nova', 'Obsidia', 'Ocera', 'Pandoria', 'Premia', 'Pythera', 'Rubera', 'Samera', 'Saphira', 'Selena', 'Shanera', 'Shivera', 'Silvera', 'Solera', 'Tenebra', 'Thoria', 'Titania', 'Trimera', 'Valoria', 'Vinera', 'Xantera', 'Xerena', 'Zanera');
var enfWorlds = new Array('Dolera', 'Inferna');
var valueFrom = document.getElementById('valueFrom').value;
var worldFrom = document.getElementById('worldFrom').value;
var worldTo = document.getElementById('worldTo').value;
if (valueFrom.length != 0 && worldFrom.length != 0 && worldTo.length != 0){
if (searchArray(nonWorlds, worldFrom)) {
var worldFromType = 'Non-PvP';
} else if (searchArray(pvpWorlds, worldFrom)) {
var worldFromType = 'PvP';
} else if (searchArray(enfWorlds, worldFrom)) {
var worldFromType = 'PvP-Enforced';
} else{
var worldFromType = 'Unknown';
}
if (searchArray(nonWorlds, worldTo)) {
var worldToType = 'Non-PvP';
} else if (searchArray(pvpWorlds, worldTo)) {
var worldToType = 'PvP';
} else if (searchArray(enfWorlds, worldTo)) {
var worldToType = 'PvP-Enforced';
} else{
var worldToType = 'Unknown';
}
if ((worldFromType == 'Non-PvP') && (worldToType == 'Non-PvP')) {
var worldTax = 1.2;
} else if (worldFromType == 'Non-PvP' && worldToType == 'PvP') {
var worldTax = 1.9;
} else if (worldFromType == 'Non-PvP' && worldToType == 'PvP-Enforced') {
var worldTax = 3;
} else if (worldFromType == 'PvP' && worldToType == 'Non-PvP') {
var worldTax = 1.1;
} else if (worldFromType == 'PvP' && worldToType == 'PvP') {
var worldTax = 1.2;
} else if (worldFromType == 'PvP' && worldToType == 'PvP-Enforced') {
var worldTax = 2;
} else if (worldFromType == 'PvP-Enforced' && worldToType == 'Non-PvP') {
var worldTax = 1;
} else if (worldFromType == 'PvP-Enforced' && worldToType == 'PvP') {
var worldTax = 1;
} else if (worldFromType == 'PvP-Enforced' && worldToType == 'PvP-Enforced') {
var worldTax = 1.1;
}
document.getElementById('valueTo').value = Math.ceil((valueFrom / worldTax));
}
}
</script>
</head>
<body>
<p>How much cash did you send?<br />
<input type="text" name="valueFrom" onKeyPress="return checkIt(event)" id="valueFrom" onBlur="updatePrices();"></p>
<p>From what server?<br />
<select id="worldFrom" name="worldFrom" onChange="updatePrices();">
<option value="">-Select a choice-</option>
<option value="Aldora" >Aldora</option>
<option value="Amera" >Amera</option>
<option value="Antica" >Antica</option>
<option value="Arcania" >Arcania</option>
<option value="Askara" >Askara</option>
<option value="Astera" >Astera</option>
<option value="Aurea" >Aurea</option>
<option value="Azura" >Azura</option>
<option value="Balera" >Balera</option>
<option value="Berylia" >Berylia</option>
<option value="Calmera" >Calmera</option>
<option value="Candia" >Candia</option>
<option value="Celesta" >Celesta</option>
<option value="Chimera" >Chimera</option>
<option value="Danera" >Danera</option>
<option value="Danubia" >Danubia</option>
<option value="Dolera" >Dolera</option>
<option value="Elera" >Elera</option>
<option value="Elysia" >Elysia</option>
<option value="Empera" >Empera</option>
<option value="Eternia" >Eternia</option>
<option value="Fidera" >Fidera</option>
<option value="Fortera" >Fortera</option>
<option value="Furora" >Furora</option>
<option value="Galana" >Galana</option>
<option value="Grimera" >Grimera</option>
<option value="Guardia" >Guardia</option>
<option value="Harmonia" >Harmonia</option>
<option value="Hiberna" >Hiberna</option>
<option value="Honera" >Honera</option>
<option value="Inferna" >Inferna</option>
<option value="Iridia" >Iridia</option>
<option value="Isara" >Isara</option>
<option value="Jamera" >Jamera</option>
<option value="Julera" >Julera</option>
<option value="Keltera" >Keltera</option>
<option value="Kyra" >Kyra</option>
<option value="Libera" >Libera</option>
<option value="Lucera" >Lucera</option>
<option value="Luminera" >Luminera</option>
<option value="Lunara" >Lunara</option>
<option value="Magera" >Magera</option>
<option value="Malvera" >Malvera</option>
<option value="Menera" >Menera</option>
<option value="Morgana" >Morgana</option>
<option value="Mythera" >Mythera</option>
<option value="Nebula" >Nebula</option>
<option value="Neptera" >Neptera</option>
<option value="Nerana" >Nerana</option>
<option value="Nova" >Nova</option>
<option value="Obsidia" >Obsidia</option>
<option value="Ocera" >Ocera</option>
<option value="Olympa" >Olympa</option>
<option value="Pacera" >Pacera</option>
<option value="Pandoria" >Pandoria</option>
<option value="Premia" >Premia</option>
<option value="Pythera" >Pythera</option>
<option value="Refugia" >Refugia</option>
<option value="Rubera" >Rubera</option>
<option value="Samera" >Samera</option>
<option value="Saphira" >Saphira</option>
<option value="Secura" >Secura</option>
<option value="Selena" >Selena</option>
<option value="Shanera" >Shanera</option>
<option value="Shivera" >Shivera</option>
<option value="Silvera" >Silvera</option>
<option value="Solera" >Solera</option>
<option value="Tenebra" >Tenebra</option>
<option value="Thoria" >Thoria</option>
<option value="Titania" >Titania</option>
<option value="Trimera" >Trimera</option>
<option value="Unitera" >Unitera</option>
<option value="Valoria" >Valoria</option>
<option value="Vinera" >Vinera</option>
<option value="Xantera" >Xantera</option>
<option value="Xerena" >Xerena</option>
<option value="Zanera" >Zanera</option></select>
</p>
<p>Where do you want your money?<br />
<select id="worldTo" name="worldTo" onChange="updatePrices();">
<option value="">-Select a choice-</option>
<option value="Aldora" >Aldora</option>
<option value="Amera" >Amera</option>
<option value="Antica" >Antica</option>
<option value="Arcania" >Arcania</option>
<option value="Askara" >Askara</option>
<option value="Astera" >Astera</option>
<option value="Aurea" >Aurea</option>
<option value="Azura" >Azura</option>
<option value="Balera" >Balera</option>
<option value="Berylia" >Berylia</option>
<option value="Calmera" >Calmera</option>
<option value="Candia" >Candia</option>
<option value="Celesta" >Celesta</option>
<option value="Chimera" >Chimera</option>
<option value="Danera" >Danera</option>
<option value="Danubia" >Danubia</option>
<option value="Dolera" >Dolera</option>
<option value="Elera" >Elera</option>
<option value="Elysia" >Elysia</option>
<option value="Empera" >Empera</option>
<option value="Eternia" >Eternia</option>
<option value="Fidera" >Fidera</option>
<option value="Fortera" >Fortera</option>
<option value="Furora" >Furora</option>
<option value="Galana" >Galana</option>
<option value="Grimera" >Grimera</option>
<option value="Guardia" >Guardia</option>
<option value="Harmonia" >Harmonia</option>
<option value="Hiberna" >Hiberna</option>
<option value="Honera" >Honera</option>
<option value="Inferna" >Inferna</option>
<option value="Iridia" >Iridia</option>
<option value="Isara" >Isara</option>
<option value="Jamera" >Jamera</option>
<option value="Julera" >Julera</option>
<option value="Keltera" >Keltera</option>
<option value="Kyra" >Kyra</option>
<option value="Libera" >Libera</option>
<option value="Lucera" >Lucera</option>
<option value="Luminera" >Luminera</option>
<option value="Lunara" >Lunara</option>
<option value="Magera" >Magera</option>
<option value="Malvera" >Malvera</option>
<option value="Menera" >Menera</option>
<option value="Morgana" >Morgana</option>
<option value="Mythera" >Mythera</option>
<option value="Nebula" >Nebula</option>
<option value="Neptera" >Neptera</option>
<option value="Nerana" >Nerana</option>
<option value="Nova" >Nova</option>
<option value="Obsidia" >Obsidia</option>
<option value="Ocera" >Ocera</option>
<option value="Olympa" >Olympa</option>
<option value="Pacera" >Pacera</option>
<option value="Pandoria" >Pandoria</option>
<option value="Premia" >Premia</option>
<option value="Pythera" >Pythera</option>
<option value="Refugia" >Refugia</option>
<option value="Rubera" >Rubera</option>
<option value="Samera" >Samera</option>
<option value="Saphira" >Saphira</option>
<option value="Secura" >Secura</option>
<option value="Selena" >Selena</option>
<option value="Shanera" >Shanera</option>
<option value="Shivera" >Shivera</option>
<option value="Silvera" >Silvera</option>
<option value="Solera" >Solera</option>
<option value="Tenebra" >Tenebra</option>
<option value="Thoria" >Thoria</option>
<option value="Titania" >Titania</option>
<option value="Trimera" >Trimera</option>
<option value="Unitera" >Unitera</option>
<option value="Valoria" >Valoria</option>
<option value="Vinera" >Vinera</option>
<option value="Xantera" >Xantera</option>
<option value="Xerena" >Xerena</option>
<option value="Zanera" >Zanera</option></select></p>
<p>Total to Receive:<br />
<input type="text" name="valueTo" id="valueTo" readonly></p>
<p><input type="button" onClick="updatePrices();" value="Update!"></p>
</body>
</html>
|
ZeroBytes |
|
_________________ Decoded by ASD @ Lost-codes.co.uk |
|
|
|
|
|
|
|
Posted: Wed Mar 16, 2011 3:20 pm |
|
|
BlakW |
Beginner |
|
|
Joined: Mar 16, 2011 |
Posts: 3 |
|
|
|
|
|
|
|
|
|
|
|
www.waraxe.us Forum Index -> PHP script decode requests
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
All times are GMT
Page 1 of 1
|
|
|
Powered by phpBB © 2001-2008 phpBB Group
|
|
|
|
|
|