rme (OP)
|
|
June 02, 2013, 08:19:56 AM Last edit: December 21, 2016, 08:46:39 PM by rme |
|
.
|
|
|
|
🏰 TradeFortress 🏰
Bitcoin Veteran
VIP
Legendary
Offline
Activity: 1316
Merit: 1043
👻
|
|
June 02, 2013, 08:21:46 AM |
|
@rme: You use mysqli, not mysql, right? EDIT: Or PDO.
|
|
|
|
rme (OP)
|
|
June 02, 2013, 08:23:35 AM Last edit: December 21, 2016, 08:46:53 PM by rme |
|
.
|
|
|
|
r3wt
|
|
June 02, 2013, 08:28:06 AM |
|
Also, in line 111 of search.php you are not filtering this: <input type="text" name="query" id="box" size="70" value="[XSS]" action="include/js_suggest/suggest.php" columns="2" autocomplete="on" delay="1500"> You are only stripping some characters, the recomendation is htmlspecialchars() and for sql querys mysql_real_escape_string()fuck it. seems to have no effect on the database at all.
|
My negative trust rating is reflective of a personal vendetta by someone on default trust.
|
|
|
ganabb
|
|
June 02, 2013, 08:33:21 AM |
|
Do you have any experience jsonrpc?
|
|
|
|
rme (OP)
|
|
June 02, 2013, 08:36:05 AM |
|
Do you have any experience jsonrpc?
Yes, I know how to work with it.
|
|
|
|
ganabb
|
|
June 02, 2013, 08:38:27 AM |
|
Do you have any experience jsonrpc?
Yes, I know how to work with it. some of your work please.
|
|
|
|
rme (OP)
|
|
June 02, 2013, 08:40:11 AM Last edit: December 21, 2016, 08:47:08 PM by rme |
|
.
|
|
|
|
ganabb
|
|
June 02, 2013, 08:47:44 AM |
|
Dear rme , any simple coding will do.
|
|
|
|
r3wt
|
|
June 02, 2013, 08:50:00 AM |
|
Dear rme , any simple coding will do.
*holds breath*
|
My negative trust rating is reflective of a personal vendetta by someone on default trust.
|
|
|
rme (OP)
|
|
June 02, 2013, 08:50:55 AM |
|
Wait, I am coding
|
|
|
|
ganabb
|
|
June 02, 2013, 08:52:17 AM |
|
Wait, I am coding take as long as you need.
|
|
|
|
r3wt
|
|
June 02, 2013, 09:02:05 AM |
|
sendmany '' '{"$address":"$amt" }'
|
My negative trust rating is reflective of a personal vendetta by someone on default trust.
|
|
|
rme (OP)
|
|
June 02, 2013, 09:03:52 AM Last edit: December 21, 2016, 08:47:16 PM by rme |
|
.
|
|
|
|
ganabb
|
|
June 02, 2013, 09:08:25 AM |
|
<?php require_once 'jsonRPCClient.php'; $bitcoin = new jsonRPCClient('http://3e4uwK2e9n9:XTxyCTRoksgqq6tAR6@127.0.0.1:8332/');
print_r($bitcoin->getinfo()); echo "\n";
// Importing a private key $bitcoin->importprivkey("5J8ZHJuqQnujeY9FC7QGKsfC9kFCEGr5voFuT1YFsKDGVq3x3TW");
//Check the balance of this address echo "Received: ".$bitcoin->getreceivedbyaddress("1975Qq2bE2y2Dy5gdLb8ynHm5PNhFQYacw")."\n";
//Dump private key of a address echo "This is your private key: ".$bitcoin->dumpprivkey("1975Qq2bE2y2Dy5gdLb8ynHm5PNhFQYacw")."\n";
//Get balance of your whole wallet echo "This is your wallet total balance: ".$bitcoin->getbalance()."\n";
//Hi gentleman, I want a new address echo "Oh, here is your new address: ".$bitcoin->getnewaddress()."\n";
//OK, I want to sing this message: echo "Message: ".$bitcoin->signmessage("1975Qq2bE2y2Dy5gdLb8ynHm5PNhFQYacw", "This is me, RME")."\n";
//Stawp! echo "Stopping Bitcoin-QT: ".$bitcoin->stop()."\n";
where is ?>
|
|
|
|
rme (OP)
|
|
June 02, 2013, 09:09:14 AM |
|
Its not necessary to use ?> in a php file. (Its required if you are embedding php code between HTML)
|
|
|
|
ganabb
|
|
June 02, 2013, 09:11:25 AM |
|
good to know , testing out now.
|
|
|
|
rme (OP)
|
|
June 02, 2013, 09:12:13 AM |
|
good to know , testing out now.
I have not tested the code yet
|
|
|
|
ganabb
|
|
June 02, 2013, 09:18:09 AM |
|
downloading JSON-RPC_PHP_light.zip from jsonrpcphp-org now.
|
|
|
|
ganabb
|
|
June 02, 2013, 09:35:56 AM |
|
downloading JSON-RPC_PHP_light.zip from jsonrpcphp-org now.
ERROR : Forbidden
You don't have permission to access / on this server.
|
|
|
|
|