Transpiled version (4288L) is out of date.
static new ThreadLocal<Bool> doPost_silently; static new ThreadLocal<Long> doPost_timeout; static new ThreadLocal<SS> doPost_extraHeaders; sS doPost(S url, Map urlParameters) { ret doPost(urlParameters, url); } sS doPost(Map urlParameters, S url) { ret doPost(makePostData(urlParameters), url); } static String doPost(S urlParameters, String url) ctex { URL _url = new URL(url); ping(); return doPost(urlParameters, _url.openConnection(), _url); } static String doPost(S urlParameters, URLConnection conn, URL url) ctex { bool silently = isTrue(optParam(doPost_silently)); Long timeout = optParam(doPost_timeout); SS extraHeaders = optPar(doPost_extraHeaders); setHeaders(conn); for (S key : keys(extraHeaders)) { ifdef doPost_debug print("doPost sending header: " + key + " = " + extraHeaders.get(key)); endifdef conn.setRequestProperty(key, extraHeaders.get(key)); } int l = lUtf8(urlParameters); if (!silently) print("Sending POST request: " + hideCredentials(url) + " (" + l + " bytes)"); // connect and do POST if (timeout != null) setURLConnectionTimeouts(conn, timeout); cast conn to HttpURLConnection; conn.setRequestMethod("POST"); conn.setDoOutput(true); conn.setFixedLengthStreamingMode(l); //conn.setRequestProperty("Content-Length", str(l)); OutputStreamWriter writer = new OutputStreamWriter(conn.getOutputStream(), "UTF-8"); writer.write(urlParameters); writer.flush(); String contents = loadPage_utf8(conn, url, false); writer.close(); return contents; }
download show line numbers debug dex old transpilations
Travelled to 15 computer(s): aoiabmzegqzx, bhatertpkbcr, cbybwowwnfue, cfunsshuasjs, gjtlkbvenryc, gwrvuhgaqvyk, ishqpsrjomds, lpdgvwnxivlt, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tslmcundralx, tvejysmllsmz, vouqrxazstgt, whxojlpjdney
| ID | Author/Program | Comment | Date |
|---|---|---|---|
| 1717 | ubataecj | 1 | 2024-04-06 17:44:36 |
| 1700 | ubataecj | @@1zB4e | 2024-04-06 17:28:01 |
| 1699 | ubataecj | 555????%2527%2522\'\" | 2024-04-06 17:28:01 |
| 1697 | ubataecj | 555'" | 2024-04-06 17:28:01 |
| 1695 | ubataecj | 555'||DBMS_PIPE.RECEIVE_MESSAGE(CHR(98)||CHR(98)||CHR(98),15)||' | 2024-04-06 17:28:01 |
| 1690 | ubataecj | 555*DBMS_PIPE.RECEIVE_MESSAGE(CHR(99)||CHR(99)||CHR(99),15) | 2024-04-06 17:27:57 |
| 1685 | ubataecj | 555bpHaYZNQ')) OR 872=(SELECT 872 FROM PG_SLEEP(15))-- | 2024-04-06 17:27:55 |
| 1679 | ubataecj | 555onAFX6Xg') OR 262=(SELECT 262 FROM PG_SLEEP(15))-- | 2024-04-06 17:27:52 |
| 1676 | ubataecj | 555MzIlR6dk' OR 589=(SELECT 589 FROM PG_SLEEP(15))-- | 2024-04-06 17:27:50 |
| 1673 | ubataecj | 555-1)) OR 707=(SELECT 707 FROM PG_SLEEP(15))-- | 2024-04-06 17:27:46 |
| 1670 | ubataecj | 555-1) OR 260=(SELECT 260 FROM PG_SLEEP(15))-- | 2024-04-06 17:27:43 |
| 1667 | ubataecj | 555-1 OR 434=(SELECT 434 FROM PG_SLEEP(15))-- | 2024-04-06 17:27:40 |
| 1664 | ubataecj | 555bOWHfeu4'; waitfor delay '0:0:15' -- | 2024-04-06 17:27:38 |
| 1661 | ubataecj | 555-1 waitfor delay '0:0:15' -- | 2024-04-06 17:27:34 |
| 1658 | ubataecj | 555-1); waitfor delay '0:0:15' -- | 2024-04-06 17:27:32 |
| 1655 | ubataecj | 555-1; waitfor delay '0:0:15' -- | 2024-04-06 17:27:29 |
| 1652 | ubataecj | (select(0)from(select(sleep(15)))v)/*'+(select(0)from(select(sleep(15)))v)+'"+(select(0)from(select(sleep(15)))v)+"*/ | 2024-04-06 17:27:26 |
| 1649 | ubataecj | 5550"XOR(555*if(now()=sysdate(),sleep(15),0))XOR"Z | 2024-04-06 17:27:24 |
| 1647 | ubataecj | 5550'XOR(555*if(now()=sysdate(),sleep(15),0))XOR'Z | 2024-04-06 17:27:21 |
| 1644 | ubataecj | 555*if(now()=sysdate(),sleep(15),0) | 2024-04-06 17:27:19 |
| 1641 | ubataecj | -1" OR 2+173-173-1=0+0+0+1 -- | 2024-04-06 17:27:14 |
| 1640 | ubataecj | -1' OR 2+259-259-1=0+0+0+1 or 'jFwHVDH3'=' | 2024-04-06 17:27:14 |
| 1639 | ubataecj | -1' OR 2+308-308-1=0+0+0+1 -- | 2024-04-06 17:27:14 |
| 1638 | ubataecj | -1 OR 2+865-865-1=0+0+0+1 | 2024-04-06 17:27:14 |
| 1637 | ubataecj | -1 OR 2+268-268-1=0+0+0+1 -- | 2024-04-06 17:27:13 |
| 1636 | ubataecj | 555 | 2024-04-06 17:27:13 |
| 1633 | ubataecj | 555 | 2024-04-06 17:27:11 |
| 1625 | ubataecj | 555 | 2024-04-06 17:27:08 |
| 1624 | ubataecj | 1 | 2024-04-06 17:27:08 |
| 1623 | ubataecj | 555 | 2024-04-06 17:27:08 |
| 1622 | ubataecj | 1 | 2024-04-06 17:27:08 |
| 1621 | ubataecj | 555 | 2024-04-06 17:27:08 |
| 1620 | ubataecj | 1 | 2024-04-06 17:27:08 |
| 1619 | ubataecj | 555 | 2024-04-06 17:27:08 |
| 1611 | ubataecj | 1 | 2024-04-06 17:27:04 |
| 1610 | ubataecj | 555 | 2024-04-06 17:27:04 |
| 1604 | ubataecj | 1 | 2024-04-06 17:27:02 |
| 1603 | ubataecj | 555 | 2024-04-06 17:27:02 |
| 1598 | ubataecj | 1 | 2024-04-06 17:26:59 |
| 1597 | ubataecj | 555 | 2024-04-06 17:26:59 |
| 1594 | ubataecj | 1 | 2024-04-06 17:26:56 |
| 1593 | ubataecj | 555 | 2024-04-06 17:26:56 |
| 1590 | ubataecj | 1 | 2024-04-06 17:26:54 |
| 1589 | ubataecj | 555 | 2024-04-06 17:26:54 |
| 1586 | ubataecj | 1 | 2024-04-06 17:26:52 |
| 1585 | ubataecj | 555 | 2024-04-06 17:26:52 |
| 1582 | ubataecj | 1 | 2024-04-06 17:26:50 |
| 1581 | ubataecj | 555 | 2024-04-06 17:26:50 |
| 1578 | ubataecj | 1 | 2024-04-06 17:26:46 |
| 1577 | ubataecj | 555 | 2024-04-06 17:26:46 |
| 1574 | ubataecj | 1 | 2024-04-06 17:26:44 |
| 1573 | ubataecj | 555 | 2024-04-06 17:26:44 |
| 1570 | ubataecj | 1 | 2024-04-06 17:26:41 |
| 1569 | ubataecj | 555 | 2024-04-06 17:26:41 |
| 1568 | ubataecj | 555 | 2024-04-06 17:26:41 |
| 1567 | ubataecj | 555 | 2024-04-06 17:26:41 |
| 1566 | ubataecj | 555 | 2024-04-06 17:26:41 |
| 1565 | ubataecj | 555 | 2024-04-06 17:26:41 |
| 1563 | ubataecj | 555 | 2024-04-06 17:26:41 |
| 1561 | ubataecj | 1 | 2024-04-06 17:26:40 |
| 1559 | ubataecj | 555 | 2024-04-06 17:26:39 |
| 1555 | ubataecj | 555 | 2024-04-06 17:26:35 |
| 1548 | ubataecj | 1 | 2024-04-06 17:26:29 |
| 1539 | ubataecj | 1 | 2024-04-06 17:26:23 |
| 1532 | ubataecj | 1 | 2024-04-06 17:26:20 |
| 1529 | ubataecj | 1 | 2024-04-06 17:26:17 |
| 1527 | ubataecj | 1 | 2024-04-06 17:26:17 |
| 1526 | ubataecj | 1 | 2024-04-06 17:26:17 |
| 1524 | ubataecj | 1 | 2024-04-06 17:26:17 |
| 1514 | ubataecj | 1 | 2024-04-06 17:26:13 |
| 1511 | ubataecj | 1 | 2024-04-06 17:26:11 |
| 1505 | ubataecj | 1 | 2024-04-06 17:26:07 |
| 1502 | ubataecj | 1 | 2024-04-06 17:26:05 |
| 1499 | ubataecj | 1 | 2024-04-06 17:26:03 |
| 1496 | ubataecj | 1 | 2024-04-06 17:25:58 |
| 1493 | ubataecj | 1 | 2024-04-06 17:25:54 |
| 1490 | ubataecj | 1 | 2024-04-06 17:25:48 |
| 1487 | ubataecj | 1 | 2024-04-06 17:25:41 |
| 1484 | ubataecj | 1 | 2024-04-06 17:25:33 |
| 1481 | ubataecj | 1 | 2024-04-06 17:25:25 |
| 1478 | ubataecj | 1 | 2024-04-06 17:25:19 |
| 1475 | ubataecj | 1 | 2024-04-06 17:25:12 |
| 1472 | ubataecj | 1 | 2024-04-06 17:25:10 |
| 1469 | ubataecj | 1 | 2024-04-06 17:25:07 |
| 1466 | ubataecj | 1 | 2024-04-06 17:25:01 |
| 1465 | ubataecj | 1 | 2024-04-06 17:25:01 |
| 1464 | ubataecj | 1 | 2024-04-06 17:25:01 |
| 1463 | ubataecj | 1 | 2024-04-06 17:25:00 |
| 1462 | ubataecj | 1 | 2024-04-06 17:25:00 |
| 1461 | ubataecj | 1 | 2024-04-06 17:25:00 |
| 1455 | ubataecj | 1 | 2024-04-06 17:24:43 |
| 1451 | ubataecj | @@jklQA | 2024-04-06 17:24:25 |
| 1448 | ubataecj | 1????%2527%2522\'\" | 2024-04-06 17:24:22 |
| 1446 | ubataecj | 1'" | 2024-04-06 17:24:22 |
| 1444 | ubataecj | 1'||DBMS_PIPE.RECEIVE_MESSAGE(CHR(98)||CHR(98)||CHR(98),15)||' | 2024-04-06 17:24:19 |
| 1440 | ubataecj | 1*DBMS_PIPE.RECEIVE_MESSAGE(CHR(99)||CHR(99)||CHR(99),15) | 2024-04-06 17:24:06 |
| 1437 | ubataecj | 1WWNfNXAY')) OR 443=(SELECT 443 FROM PG_SLEEP(15))-- | 2024-04-06 17:24:02 |
| 1432 | ubataecj | 1KhK6TzRH') OR 345=(SELECT 345 FROM PG_SLEEP(15))-- | 2024-04-06 17:23:59 |
| 1430 | ubataecj | 1myIo6lCl' OR 472=(SELECT 472 FROM PG_SLEEP(15))-- | 2024-04-06 17:23:55 |
| 1428 | ubataecj | 1-1)) OR 745=(SELECT 745 FROM PG_SLEEP(15))-- | 2024-04-06 17:23:53 |
| 1426 | ubataecj | 1-1) OR 703=(SELECT 703 FROM PG_SLEEP(15))-- | 2024-04-06 17:23:50 |
| 1424 | ubataecj | 1-1 OR 463=(SELECT 463 FROM PG_SLEEP(15))-- | 2024-04-06 17:23:47 |
| 1422 | ubataecj | 1aDxMz2V8'; waitfor delay '0:0:15' -- | 2024-04-06 17:23:44 |
| 1420 | ubataecj | 1-1 waitfor delay '0:0:15' -- | 2024-04-06 17:23:41 |
| 1418 | ubataecj | 1-1); waitfor delay '0:0:15' -- | 2024-04-06 17:23:38 |
| 1416 | ubataecj | 1-1; waitfor delay '0:0:15' -- | 2024-04-06 17:23:35 |
| 1414 | ubataecj | (select(0)from(select(sleep(15)))v)/*'+(select(0)from(select(sleep(15)))v)+'"+(select(0)from(select(sleep(15)))v)+"*/ | 2024-04-06 17:23:32 |
| 1407 | ubataecj | 10"XOR(1*if(now()=sysdate(),sleep(15),0))XOR"Z | 2024-04-06 17:23:28 |
| 1405 | ubataecj | 10'XOR(1*if(now()=sysdate(),sleep(15),0))XOR'Z | 2024-04-06 17:23:25 |
| 1404 | ubataecj | 1*if(now()=sysdate(),sleep(15),0) | 2024-04-06 17:23:21 |
| 1403 | ubataecj | -1" OR 2+157-157-1=0+0+0+1 -- | 2024-04-06 17:23:18 |
| 1402 | ubataecj | -1' OR 2+888-888-1=0+0+0+1 or 'kSExpMdz'=' | 2024-04-06 17:23:18 |
| 1401 | ubataecj | -1' OR 2+294-294-1=0+0+0+1 -- | 2024-04-06 17:23:18 |
| 1400 | ubataecj | -1 OR 2+119-119-1=0+0+0+1 | 2024-04-06 17:23:18 |
| 1399 | ubataecj | -1 OR 2+616-616-1=0+0+0+1 -- | 2024-04-06 17:23:18 |
| 1398 | ubataecj | 1 | 2024-04-06 17:23:18 |
| 1397 | ubataecj | 1 | 2024-04-06 17:23:15 |
| 752 | #1000604 (pitcher) | 2015-08-18 00:07:22 |
| Snippet ID: | #1000565 |
| Snippet name: | doPost |
| Eternal ID of this version: | #1000565/20 |
| Text MD5: | 6bee11333ec1f3160e8728404bb46d30 |
| Author: | stefan |
| Category: | |
| Type: | JavaX fragment (include) |
| Public (visible to everyone): | Yes |
| Archived (hidden from active list): | No |
| Created/modified: | 2024-03-29 11:01:17 |
| Source code size: | 1607 bytes / 50 lines |
| Pitched / IR pitched: | No / No |
| Views / Downloads: | 1616 / 4515 |
| Version history: | 19 change(s) |
| Referenced in: | [show references] |