Advertisement
Guest User

Untitled

a guest
Mar 1st, 2016
79
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 20.85 KB | None | 0 0
  1. Win ID 3 deliveried (REST API confirm)
  2. null IncomingMessage {
  3. _readableState:
  4. ReadableState {
  5. objectMode: false,
  6. highWaterMark: 16384,
  7. buffer: [],
  8. length: 0,
  9. pipes: null,
  10. pipesCount: 0,
  11. flowing: true,
  12. ended: true,
  13. endEmitted: true,
  14. reading: false,
  15. sync: true,
  16. needReadable: false,
  17. emittedReadable: false,
  18. readableListening: false,
  19. defaultEncoding: 'utf8',
  20. ranOut: false,
  21. awaitDrain: 0,
  22. readingMore: false,
  23. decoder: null,
  24. encoding: null,
  25. resumeScheduled: false },
  26. readable: false,
  27. domain: null,
  28. _events:
  29. { end: [ [Function: responseOnEnd], [Function], [Function], [Function] ],
  30. close: [ [Function], [Function] ],
  31. data: [Function],
  32. error: [Function] },
  33. _eventsCount: 4,
  34. _maxListeners: undefined,
  35. socket:
  36. Socket {
  37. _connecting: false,
  38. _hadError: false,
  39. _handle: null,
  40. _parent: null,
  41. _host: 'youwinner.net',
  42. _readableState:
  43. ReadableState {
  44. objectMode: false,
  45. highWaterMark: 16384,
  46. buffer: [],
  47. length: 0,
  48. pipes: null,
  49. pipesCount: 0,
  50. flowing: true,
  51. ended: false,
  52. endEmitted: false,
  53. reading: true,
  54. sync: false,
  55. needReadable: true,
  56. emittedReadable: false,
  57. readableListening: false,
  58. defaultEncoding: 'utf8',
  59. ranOut: false,
  60. awaitDrain: 0,
  61. readingMore: false,
  62. decoder: null,
  63. encoding: null,
  64. resumeScheduled: false },
  65. readable: false,
  66. domain: null,
  67. _events:
  68. { end: [Object],
  69. finish: [Function: onSocketFinish],
  70. _socketEnd: [Function: onSocketEnd],
  71. free: [Function: onFree],
  72. close: [Object],
  73. agentRemove: [Function: onRemove],
  74. drain: [Function: ondrain],
  75. error: [Object] },
  76. _eventsCount: 8,
  77. _maxListeners: 0,
  78. _writableState:
  79. WritableState {
  80. objectMode: false,
  81. highWaterMark: 16384,
  82. needDrain: false,
  83. ending: true,
  84. ended: true,
  85. finished: true,
  86. decodeStrings: false,
  87. defaultEncoding: 'utf8',
  88. length: 0,
  89. writing: false,
  90. corked: 0,
  91. sync: false,
  92. bufferProcessing: false,
  93. onwrite: [Function],
  94. writecb: null,
  95. writelen: 0,
  96. bufferedRequest: null,
  97. lastBufferedRequest: null,
  98. pendingcb: 0,
  99. prefinished: true,
  100. errorEmitted: false },
  101. writable: false,
  102. allowHalfOpen: false,
  103. destroyed: true,
  104. bytesRead: 404,
  105. _bytesDispatched: 168,
  106. _sockname: null,
  107. _pendingData: null,
  108. _pendingEncoding: '',
  109. parser: null,
  110. _httpMessage:
  111. ClientRequest {
  112. domain: null,
  113. _events: [Object],
  114. _eventsCount: 4,
  115. _maxListeners: undefined,
  116. output: [],
  117. outputEncodings: [],
  118. outputCallbacks: [],
  119. outputSize: 0,
  120. writable: true,
  121. _last: true,
  122. chunkedEncoding: false,
  123. shouldKeepAlive: false,
  124. useChunkedEncodingByDefault: true,
  125. sendDate: false,
  126. _removedHeader: [Object],
  127. _contentLength: null,
  128. _hasBody: true,
  129. _trailer: '',
  130. finished: true,
  131. _headerSent: true,
  132. socket: [Circular],
  133. connection: [Circular],
  134. _header: 'POST /api/index/accept?key=twinker HTTP/1.1\r\nhost: youwinner.net\r\ncontent-type: application/x-www-form-urlencoded\r\ncontent-length: 12\r\nConnection: close\r\n\r\n',
  135. _headers: [Object],
  136. _headerNames: [Object],
  137. _onPendingData: null,
  138. agent: [Object],
  139. socketPath: undefined,
  140. method: 'POST',
  141. path: '/api/index/accept?key=twinker',
  142. parser: null,
  143. res: [Circular] },
  144. read: [Function],
  145. _consuming: true,
  146. _idleNext: null,
  147. _idlePrev: null,
  148. _idleTimeout: -1 },
  149. connection:
  150. Socket {
  151. _connecting: false,
  152. _hadError: false,
  153. _handle: null,
  154. _parent: null,
  155. _host: 'youwinner.net',
  156. _readableState:
  157. ReadableState {
  158. objectMode: false,
  159. highWaterMark: 16384,
  160. buffer: [],
  161. length: 0,
  162. pipes: null,
  163. pipesCount: 0,
  164. flowing: true,
  165. ended: false,
  166. endEmitted: false,
  167. reading: true,
  168. sync: false,
  169. needReadable: true,
  170. emittedReadable: false,
  171. readableListening: false,
  172. defaultEncoding: 'utf8',
  173. ranOut: false,
  174. awaitDrain: 0,
  175. readingMore: false,
  176. decoder: null,
  177. encoding: null,
  178. resumeScheduled: false },
  179. readable: false,
  180. domain: null,
  181. _events:
  182. { end: [Object],
  183. finish: [Function: onSocketFinish],
  184. _socketEnd: [Function: onSocketEnd],
  185. free: [Function: onFree],
  186. close: [Object],
  187. agentRemove: [Function: onRemove],
  188. drain: [Function: ondrain],
  189. error: [Object] },
  190. _eventsCount: 8,
  191. _maxListeners: 0,
  192. _writableState:
  193. WritableState {
  194. objectMode: false,
  195. highWaterMark: 16384,
  196. needDrain: false,
  197. ending: true,
  198. ended: true,
  199. finished: true,
  200. decodeStrings: false,
  201. defaultEncoding: 'utf8',
  202. length: 0,
  203. writing: false,
  204. corked: 0,
  205. sync: false,
  206. bufferProcessing: false,
  207. onwrite: [Function],
  208. writecb: null,
  209. writelen: 0,
  210. bufferedRequest: null,
  211. lastBufferedRequest: null,
  212. pendingcb: 0,
  213. prefinished: true,
  214. errorEmitted: false },
  215. writable: false,
  216. allowHalfOpen: false,
  217. destroyed: true,
  218. bytesRead: 404,
  219. _bytesDispatched: 168,
  220. _sockname: null,
  221. _pendingData: null,
  222. _pendingEncoding: '',
  223. parser: null,
  224. _httpMessage:
  225. ClientRequest {
  226. domain: null,
  227. _events: [Object],
  228. _eventsCount: 4,
  229. _maxListeners: undefined,
  230. output: [],
  231. outputEncodings: [],
  232. outputCallbacks: [],
  233. outputSize: 0,
  234. writable: true,
  235. _last: true,
  236. chunkedEncoding: false,
  237. shouldKeepAlive: false,
  238. useChunkedEncodingByDefault: true,
  239. sendDate: false,
  240. _removedHeader: [Object],
  241. _contentLength: null,
  242. _hasBody: true,
  243. _trailer: '',
  244. finished: true,
  245. _headerSent: true,
  246. socket: [Circular],
  247. connection: [Circular],
  248. _header: 'POST /api/index/accept?key=twinker HTTP/1.1\r\nhost: youwinner.net\r\ncontent-type: application/x-www-form-urlencoded\r\ncontent-length: 12\r\nConnection: close\r\n\r\n',
  249. _headers: [Object],
  250. _headerNames: [Object],
  251. _onPendingData: null,
  252. agent: [Object],
  253. socketPath: undefined,
  254. method: 'POST',
  255. path: '/api/index/accept?key=twinker',
  256. parser: null,
  257. res: [Circular] },
  258. read: [Function],
  259. _consuming: true,
  260. _idleNext: null,
  261. _idlePrev: null,
  262. _idleTimeout: -1 },
  263. httpVersionMajor: 1,
  264. httpVersionMinor: 1,
  265. httpVersion: '1.1',
  266. complete: true,
  267. headers:
  268. { date: 'Tue, 01 Mar 2016 19:31:22 GMT',
  269. 'content-type': 'text/html; charset=UTF-8',
  270. 'transfer-encoding': 'chunked',
  271. connection: 'close',
  272. 'set-cookie': [ '__cfduid=d2b33cdd72e26d2fbe6a4cab22600bd771456860682; expires=Wed, 01-Mar-17 19:31:22 GMT; path=/; domain=.youwinner.net; HttpOnly' ],
  273. 'x-powered-by': 'PHP/5.5.9-1ubuntu4.14',
  274. server: 'cloudflare-nginx',
  275. 'cf-ray': '27cf075ee5522555-ORD' },
  276. rawHeaders:
  277. [ 'Date',
  278. 'Tue, 01 Mar 2016 19:31:22 GMT',
  279. 'Content-Type',
  280. 'text/html; charset=UTF-8',
  281. 'Transfer-Encoding',
  282. 'chunked',
  283. 'Connection',
  284. 'close',
  285. 'Set-Cookie',
  286. '__cfduid=d2b33cdd72e26d2fbe6a4cab22600bd771456860682; expires=Wed, 01-Mar-17 19:31:22 GMT; path=/; domain=.youwinner.net; HttpOnly',
  287. 'X-Powered-By',
  288. 'PHP/5.5.9-1ubuntu4.14',
  289. 'Server',
  290. 'cloudflare-nginx',
  291. 'CF-RAY',
  292. '27cf075ee5522555-ORD' ],
  293. trailers: {},
  294. rawTrailers: [],
  295. upgrade: false,
  296. url: '',
  297. method: null,
  298. statusCode: 500,
  299. statusMessage: 'Internal Server Error',
  300. client:
  301. Socket {
  302. _connecting: false,
  303. _hadError: false,
  304. _handle: null,
  305. _parent: null,
  306. _host: 'youwinner.net',
  307. _readableState:
  308. ReadableState {
  309. objectMode: false,
  310. highWaterMark: 16384,
  311. buffer: [],
  312. length: 0,
  313. pipes: null,
  314. pipesCount: 0,
  315. flowing: true,
  316. ended: false,
  317. endEmitted: false,
  318. reading: true,
  319. sync: false,
  320. needReadable: true,
  321. emittedReadable: false,
  322. readableListening: false,
  323. defaultEncoding: 'utf8',
  324. ranOut: false,
  325. awaitDrain: 0,
  326. readingMore: false,
  327. decoder: null,
  328. encoding: null,
  329. resumeScheduled: false },
  330. readable: false,
  331. domain: null,
  332. _events:
  333. { end: [Object],
  334. finish: [Function: onSocketFinish],
  335. _socketEnd: [Function: onSocketEnd],
  336. free: [Function: onFree],
  337. close: [Object],
  338. agentRemove: [Function: onRemove],
  339. drain: [Function: ondrain],
  340. error: [Object] },
  341. _eventsCount: 8,
  342. _maxListeners: 0,
  343. _writableState:
  344. WritableState {
  345. objectMode: false,
  346. highWaterMark: 16384,
  347. needDrain: false,
  348. ending: true,
  349. ended: true,
  350. finished: true,
  351. decodeStrings: false,
  352. defaultEncoding: 'utf8',
  353. length: 0,
  354. writing: false,
  355. corked: 0,
  356. sync: false,
  357. bufferProcessing: false,
  358. onwrite: [Function],
  359. writecb: null,
  360. writelen: 0,
  361. bufferedRequest: null,
  362. lastBufferedRequest: null,
  363. pendingcb: 0,
  364. prefinished: true,
  365. errorEmitted: false },
  366. writable: false,
  367. allowHalfOpen: false,
  368. destroyed: true,
  369. bytesRead: 404,
  370. _bytesDispatched: 168,
  371. _sockname: null,
  372. _pendingData: null,
  373. _pendingEncoding: '',
  374. parser: null,
  375. _httpMessage:
  376. ClientRequest {
  377. domain: null,
  378. _events: [Object],
  379. _eventsCount: 4,
  380. _maxListeners: undefined,
  381. output: [],
  382. outputEncodings: [],
  383. outputCallbacks: [],
  384. outputSize: 0,
  385. writable: true,
  386. _last: true,
  387. chunkedEncoding: false,
  388. shouldKeepAlive: false,
  389. useChunkedEncodingByDefault: true,
  390. sendDate: false,
  391. _removedHeader: [Object],
  392. _contentLength: null,
  393. _hasBody: true,
  394. _trailer: '',
  395. finished: true,
  396. _headerSent: true,
  397. socket: [Circular],
  398. connection: [Circular],
  399. _header: 'POST /api/index/accept?key=twinker HTTP/1.1\r\nhost: youwinner.net\r\ncontent-type: application/x-www-form-urlencoded\r\ncontent-length: 12\r\nConnection: close\r\n\r\n',
  400. _headers: [Object],
  401. _headerNames: [Object],
  402. _onPendingData: null,
  403. agent: [Object],
  404. socketPath: undefined,
  405. method: 'POST',
  406. path: '/api/index/accept?key=twinker',
  407. parser: null,
  408. res: [Circular] },
  409. read: [Function],
  410. _consuming: true,
  411. _idleNext: null,
  412. _idlePrev: null,
  413. _idleTimeout: -1 },
  414. _consuming: true,
  415. _dumped: false,
  416. req:
  417. ClientRequest {
  418. domain: null,
  419. _events:
  420. { socket: [Object],
  421. response: [Function: bound ],
  422. error: [Function: bound ],
  423. drain: [Function] },
  424. _eventsCount: 4,
  425. _maxListeners: undefined,
  426. output: [],
  427. outputEncodings: [],
  428. outputCallbacks: [],
  429. outputSize: 0,
  430. writable: true,
  431. _last: true,
  432. chunkedEncoding: false,
  433. shouldKeepAlive: false,
  434. useChunkedEncodingByDefault: true,
  435. sendDate: false,
  436. _removedHeader: { 'content-length': false },
  437. _contentLength: null,
  438. _hasBody: true,
  439. _trailer: '',
  440. finished: true,
  441. _headerSent: true,
  442. socket:
  443. Socket {
  444. _connecting: false,
  445. _hadError: false,
  446. _handle: null,
  447. _parent: null,
  448. _host: 'youwinner.net',
  449. _readableState: [Object],
  450. readable: false,
  451. domain: null,
  452. _events: [Object],
  453. _eventsCount: 8,
  454. _maxListeners: 0,
  455. _writableState: [Object],
  456. writable: false,
  457. allowHalfOpen: false,
  458. destroyed: true,
  459. bytesRead: 404,
  460. _bytesDispatched: 168,
  461. _sockname: null,
  462. _pendingData: null,
  463. _pendingEncoding: '',
  464. parser: null,
  465. _httpMessage: [Circular],
  466. read: [Function],
  467. _consuming: true,
  468. _idleNext: null,
  469. _idlePrev: null,
  470. _idleTimeout: -1 },
  471. connection:
  472. Socket {
  473. _connecting: false,
  474. _hadError: false,
  475. _handle: null,
  476. _parent: null,
  477. _host: 'youwinner.net',
  478. _readableState: [Object],
  479. readable: false,
  480. domain: null,
  481. _events: [Object],
  482. _eventsCount: 8,
  483. _maxListeners: 0,
  484. _writableState: [Object],
  485. writable: false,
  486. allowHalfOpen: false,
  487. destroyed: true,
  488. bytesRead: 404,
  489. _bytesDispatched: 168,
  490. _sockname: null,
  491. _pendingData: null,
  492. _pendingEncoding: '',
  493. parser: null,
  494. _httpMessage: [Circular],
  495. read: [Function],
  496. _consuming: true,
  497. _idleNext: null,
  498. _idlePrev: null,
  499. _idleTimeout: -1 },
  500. _header: 'POST /api/index/accept?key=twinker HTTP/1.1\r\nhost: youwinner.net\r\ncontent-type: application/x-www-form-urlencoded\r\ncontent-length: 12\r\nConnection: close\r\n\r\n',
  501. _headers:
  502. { host: 'youwinner.net',
  503. 'content-type': 'application/x-www-form-urlencoded',
  504. 'content-length': 12 },
  505. _headerNames:
  506. { host: 'host',
  507. 'content-type': 'content-type',
  508. 'content-length': 'content-length' },
  509. _onPendingData: null,
  510. agent:
  511. Agent {
  512. domain: null,
  513. _events: [Object],
  514. _eventsCount: 1,
  515. _maxListeners: undefined,
  516. defaultPort: 80,
  517. protocol: 'http:',
  518. options: [Object],
  519. requests: {},
  520. sockets: [Object],
  521. freeSockets: {},
  522. keepAliveMsecs: 1000,
  523. keepAlive: false,
  524. maxSockets: Infinity,
  525. maxFreeSockets: 256 },
  526. socketPath: undefined,
  527. method: 'POST',
  528. path: '/api/index/accept?key=twinker',
  529. parser: null,
  530. res: [Circular] },
  531. request:
  532. Request {
  533. domain: null,
  534. _events:
  535. { error: [Function: bound ],
  536. complete: [Function: bound ],
  537. pipe: [Function],
  538. end: [Object],
  539. data: [Function] },
  540. _eventsCount: 5,
  541. _maxListeners: undefined,
  542. method: 'POST',
  543. callback: [Function],
  544. readable: true,
  545. writable: true,
  546. explicitMethod: true,
  547. _qs:
  548. Querystring {
  549. request: [Circular],
  550. lib: [Object],
  551. useQuerystring: undefined,
  552. parseOptions: {},
  553. stringifyOptions: {} },
  554. _auth:
  555. Auth {
  556. request: [Circular],
  557. hasAuth: false,
  558. sentAuth: false,
  559. bearerToken: null,
  560. user: null,
  561. pass: null },
  562. _oauth: OAuth { request: [Circular], params: null },
  563. _multipart:
  564. Multipart {
  565. request: [Circular],
  566. boundary: '81a69bff-4f88-4ebc-ae88-d44aba89946f',
  567. chunked: false,
  568. body: null },
  569. _redirect:
  570. Redirect {
  571. request: [Circular],
  572. followRedirect: true,
  573. followRedirects: true,
  574. followAllRedirects: false,
  575. allowRedirect: [Function],
  576. maxRedirects: 10,
  577. redirects: [],
  578. redirectsFollowed: 0,
  579. removeRefererHeader: false },
  580. _tunnel:
  581. Tunnel {
  582. request: [Circular],
  583. proxyHeaderWhiteList: [Object],
  584. proxyHeaderExclusiveList: [] },
  585. headers:
  586. { 'content-type': 'application/x-www-form-urlencoded',
  587. 'content-length': 12 },
  588. setHeader: [Function],
  589. hasHeader: [Function],
  590. getHeader: [Function],
  591. removeHeader: [Function],
  592. localAddress: undefined,
  593. pool: {},
  594. dests: [],
  595. __isRequestRequest: true,
  596. _callback: [Function],
  597. uri:
  598. Url {
  599. protocol: 'http:',
  600. slashes: true,
  601. auth: null,
  602. host: 'youwinner.net',
  603. port: 80,
  604. hostname: 'youwinner.net',
  605. hash: null,
  606. search: '?key=twinker',
  607. query: 'key=twinker',
  608. pathname: '/api/index/accept',
  609. path: '/api/index/accept?key=twinker',
  610. href: 'http://youwinner.net/api/index/accept?key=twinker' },
  611. proxy: null,
  612. tunnel: false,
  613. setHost: true,
  614. originalCookieHeader: undefined,
  615. _disableCookies: true,
  616. _jar: undefined,
  617. port: 80,
  618. host: 'youwinner.net',
  619. body: 'request_id=6',
  620. path: '/api/index/accept?key=twinker',
  621. httpModule:
  622. { IncomingMessage: [Object],
  623. METHODS: [Object],
  624. OutgoingMessage: [Object],
  625. ServerResponse: [Object],
  626. STATUS_CODES: [Object],
  627. Agent: [Object],
  628. globalAgent: [Object],
  629. ClientRequest: [Object],
  630. request: [Function],
  631. get: [Function],
  632. _connectionListener: [Function: connectionListener],
  633. Server: [Object],
  634. createServer: [Function],
  635. Client: [Function: deprecated],
  636. createClient: [Function: deprecated] },
  637. agentClass: { [Function: Agent] super_: [Object], defaultMaxSockets: Infinity },
  638. agent:
  639. Agent {
  640. domain: null,
  641. _events: [Object],
  642. _eventsCount: 1,
  643. _maxListeners: undefined,
  644. defaultPort: 80,
  645. protocol: 'http:',
  646. options: [Object],
  647. requests: {},
  648. sockets: [Object],
  649. freeSockets: {},
  650. keepAliveMsecs: 1000,
  651. keepAlive: false,
  652. maxSockets: Infinity,
  653. maxFreeSockets: 256 },
  654. _started: true,
  655. href: 'http://youwinner.net/api/index/accept?key=twinker',
  656. req:
  657. ClientRequest {
  658. domain: null,
  659. _events: [Object],
  660. _eventsCount: 4,
  661. _maxListeners: undefined,
  662. output: [],
  663. outputEncodings: [],
  664. outputCallbacks: [],
  665. outputSize: 0,
  666. writable: true,
  667. _last: true,
  668. chunkedEncoding: false,
  669. shouldKeepAlive: false,
  670. useChunkedEncodingByDefault: true,
  671. sendDate: false,
  672. _removedHeader: [Object],
  673. _contentLength: null,
  674. _hasBody: true,
  675. _trailer: '',
  676. finished: true,
  677. _headerSent: true,
  678. socket: [Object],
  679. connection: [Object],
  680. _header: 'POST /api/index/accept?key=twinker HTTP/1.1\r\nhost: youwinner.net\r\ncontent-type: application/x-www-form-urlencoded\r\ncontent-length: 12\r\nConnection: close\r\n\r\n',
  681. _headers: [Object],
  682. _headerNames: [Object],
  683. _onPendingData: null,
  684. agent: [Object],
  685. socketPath: undefined,
  686. method: 'POST',
  687. path: '/api/index/accept?key=twinker',
  688. parser: null,
  689. res: [Circular] },
  690. ntick: true,
  691. response: [Circular],
  692. originalHost: 'youwinner.net',
  693. originalHostHeaderName: 'host',
  694. responseContent: [Circular],
  695. _ended: true,
  696. _callbackCalled: true },
  697. toJSON: [Function: responseToJSON],
  698. caseless:
  699. Caseless {
  700. dict:
  701. { date: 'Tue, 01 Mar 2016 19:31:22 GMT',
  702. 'content-type': 'text/html; charset=UTF-8',
  703. 'transfer-encoding': 'chunked',
  704. connection: 'close',
  705. 'set-cookie': [Object],
  706. 'x-powered-by': 'PHP/5.5.9-1ubuntu4.14',
  707. server: 'cloudflare-nginx',
  708. 'cf-ray': '27cf075ee5522555-ORD' } },
  709. read: [Function],
  710. body: '' } ''
  711. undefined:1
  712.  
  713.  
  714.  
  715. SyntaxError: Unexpected end of input
  716. at Object.parse (native)
  717. at Request._callback (/home/csgobot/nodebot2/bot.js:531:27)
  718. at Request.self.callback (/home/csgobot/nodebot2/node_modules/request/request.js:198:22)
  719. at emitTwo (events.js:87:13)
  720. at Request.emit (events.js:172:7)
  721. at Request.<anonymous> (/home/csgobot/nodebot2/node_modules/request/request.js:1035:10)
  722. at emitOne (events.js:82:20)
  723. at Request.emit (events.js:169:7)
  724. at IncomingMessage.<anonymous> (/home/csgobot/nodebot2/node_modules/request/request.js:962:12)
  725. at emitNone (events.js:72:20)
  726. at IncomingMessage.emit (events.js:166:7)
  727. at endReadableNT (_stream_readable.js:905:12)
  728. at nextTickCallbackWith2Args (node.js:441:9)
  729. at process._tickCallback (node.js:355:17)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement