Advertisement
Guest User

Untitled

a guest
Jan 20th, 2017
299
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 25.45 KB | None | 0 0
  1. ---------- sql query ----------
  2. query: SELECT TOP 1 Passphrase FROM ABP_Administration.dbo.Application WHERE ModifiedDate=(SELECT MAX(ModifiedDate) FROM ABP_Administration.dbo.Application WHERE Status=@status)
  3. input: @status, nvarchar, Active
  4. ---------- response -----------
  5. { Passphrase: 'NKO3qT4z6ZSLmSG3Oa36PNkrNAtEUlHI0whQSNnPqRFGlTdk9W3P8VHmHg1hOh01Uz8ncLfqfo9a7ggoP71dtoyihb7mq6wapoczBDmwIt69zqThwV3BhUObap+oVbTjmUFMNZGCTAquHA4nqLKFoT8z5RivBRKZOyp/HSv8OyQ=' }
  6. ---------- --------------------
  7. duration: 72ms
  8. ---------- completed ----------
  9. ON APPLICATION STARTUP - Decrypted passphrase: hzIJNJ0:oF10_}6|
  10. ---------- sql query ----------
  11. query: SELECT * FROM WebAccount WHERE Email=@email
  12. input: @email, nvarchar, alen.bumbulovic@gmail.com
  13. ---------- response -----------
  14. { WebAccountID: '11053',
  15. ContactID: '3809A3A9-0031-41FF-9515-96BF61DE0735',
  16. CreatedBy: 'System',
  17. CreatedDate: 2017-01-12T10:33:01.710Z,
  18. ModifiedBy: 'System',
  19. ModifiedDate: 2017-01-12T10:33:01.710Z,
  20. UpdateIndex: 0,
  21. Password: 'U2FsdGVkX19E1iLPIdMIsUZdqcQtQ1hDJiPpj+Qsoos=',
  22. SecurityQuestion: 'Option A',
  23. SecurityAnswer: 'U2FsdGVkX19AmIofe+ZG+WsI8nSE8YvjVLfF4dBCBF0=',
  24. LoginAttempts: 0,
  25. Email: 'alen.bumbulovic@gmail.com',
  26. ResetPasswordToken: 'ce7f0a799cf2dfcace62de3a3138f2057322581845503446',
  27. ResetPasswordExpires: 2017-01-19T17:20:49.323Z,
  28. ActivationToken: '',
  29. Locked: false,
  30. CmsAccess: false,
  31. Active: true }
  32. ---------- --------------------
  33. duration: 72ms
  34. ---------- completed ----------
  35. POST /email 200 385.302 ms - 8
  36. IncomingMessage {
  37. _readableState:
  38. ReadableState {
  39. objectMode: false,
  40. highWaterMark: 16384,
  41. buffer: BufferList { head: null, tail: null, length: 0 },
  42. length: 0,
  43. pipes: null,
  44. pipesCount: 0,
  45. flowing: true,
  46. ended: true,
  47. endEmitted: true,
  48. reading: false,
  49. sync: false,
  50. needReadable: false,
  51. emittedReadable: false,
  52. readableListening: false,
  53. resumeScheduled: false,
  54. defaultEncoding: 'utf8',
  55. ranOut: false,
  56. awaitDrain: 0,
  57. readingMore: false,
  58. decoder: null,
  59. encoding: null },
  60. readable: false,
  61. domain: null,
  62. _events: {},
  63. _eventsCount: 0,
  64. _maxListeners: undefined,
  65. socket:
  66. Socket {
  67. connecting: false,
  68. _hadError: false,
  69. _handle:
  70. TCP {
  71. bytesRead: 1742,
  72. _externalStream: {},
  73. fd: -1,
  74. reading: true,
  75. owner: [Circular],
  76. onread: [Function: onread],
  77. onconnection: null,
  78. writeQueueSize: 0 },
  79. _parent: null,
  80. _host: null,
  81. _readableState:
  82. ReadableState {
  83. objectMode: false,
  84. highWaterMark: 16384,
  85. buffer: [Object],
  86. length: 0,
  87. pipes: null,
  88. pipesCount: 0,
  89. flowing: true,
  90. ended: false,
  91. endEmitted: false,
  92. reading: true,
  93. sync: false,
  94. needReadable: true,
  95. emittedReadable: false,
  96. readableListening: false,
  97. resumeScheduled: false,
  98. defaultEncoding: 'utf8',
  99. ranOut: false,
  100. awaitDrain: 0,
  101. readingMore: false,
  102. decoder: null,
  103. encoding: null },
  104. readable: true,
  105. domain: null,
  106. _events:
  107. { end: [Object],
  108. finish: [Function: onSocketFinish],
  109. _socketEnd: [Function: onSocketEnd],
  110. drain: [Object],
  111. timeout: [Function],
  112. error: [Object],
  113. close: [Object],
  114. data: [Function: socketOnData],
  115. resume: [Function: onSocketResume],
  116. pause: [Function: onSocketPause] },
  117. _eventsCount: 10,
  118. _maxListeners: undefined,
  119. _writableState:
  120. WritableState {
  121. objectMode: false,
  122. highWaterMark: 16384,
  123. needDrain: false,
  124. ending: false,
  125. ended: false,
  126. finished: false,
  127. decodeStrings: false,
  128. defaultEncoding: 'utf8',
  129. length: 0,
  130. writing: false,
  131. corked: 0,
  132. sync: false,
  133. bufferProcessing: false,
  134. onwrite: [Function],
  135. writecb: null,
  136. writelen: 0,
  137. bufferedRequest: null,
  138. lastBufferedRequest: null,
  139. pendingcb: 0,
  140. prefinished: false,
  141. errorEmitted: false,
  142. bufferedRequestCount: 0,
  143. corkedRequestsFree: [Object] },
  144. writable: true,
  145. allowHalfOpen: true,
  146. destroyed: false,
  147. _bytesDispatched: 736,
  148. _sockname: null,
  149. _pendingData: null,
  150. _pendingEncoding: '',
  151. server:
  152. Server {
  153. domain: null,
  154. _events: [Object],
  155. _eventsCount: 4,
  156. _maxListeners: undefined,
  157. _connections: 1,
  158. _handle: [Object],
  159. _usingSlaves: false,
  160. _slaves: [],
  161. _unref: false,
  162. allowHalfOpen: true,
  163. pauseOnConnect: false,
  164. httpAllowHalfOpen: false,
  165. timeout: 120000,
  166. _pendingResponseData: 0,
  167. _connectionKey: '6::::3000' },
  168. _server:
  169. Server {
  170. domain: null,
  171. _events: [Object],
  172. _eventsCount: 4,
  173. _maxListeners: undefined,
  174. _connections: 1,
  175. _handle: [Object],
  176. _usingSlaves: false,
  177. _slaves: [],
  178. _unref: false,
  179. allowHalfOpen: true,
  180. pauseOnConnect: false,
  181. httpAllowHalfOpen: false,
  182. timeout: 120000,
  183. _pendingResponseData: 0,
  184. _connectionKey: '6::::3000' },
  185. _idleTimeout: 120000,
  186. _idleNext:
  187. TimersList {
  188. _idleNext: [Circular],
  189. _idlePrev: [Circular],
  190. _timer: [Object],
  191. _unrefed: true,
  192. msecs: 120000 },
  193. _idlePrev:
  194. TimersList {
  195. _idleNext: [Circular],
  196. _idlePrev: [Circular],
  197. _timer: [Object],
  198. _unrefed: true,
  199. msecs: 120000 },
  200. _idleStart: 19587,
  201. parser:
  202. HTTPParser {
  203. '0': [Function: parserOnHeaders],
  204. '1': [Function: parserOnHeadersComplete],
  205. '2': [Function: parserOnBody],
  206. '3': [Function: parserOnMessageComplete],
  207. '4': [Function: onParserExecute],
  208. _headers: [],
  209. _url: '',
  210. _consumed: true,
  211. socket: [Circular],
  212. incoming: [Circular],
  213. outgoing: null,
  214. maxHeaderPairs: 2000,
  215. onIncoming: [Function: parserOnIncoming] },
  216. on: [Function: socketOnWrap],
  217. _paused: false,
  218. read: [Function],
  219. _consuming: true,
  220. _httpMessage:
  221. ServerResponse {
  222. domain: null,
  223. _events: [Object],
  224. _eventsCount: 2,
  225. _maxListeners: undefined,
  226. output: [],
  227. outputEncodings: [],
  228. outputCallbacks: [],
  229. outputSize: 0,
  230. writable: true,
  231. _last: false,
  232. upgrading: false,
  233. chunkedEncoding: false,
  234. shouldKeepAlive: true,
  235. useChunkedEncodingByDefault: true,
  236. sendDate: true,
  237. _removedHeader: {},
  238. _contentLength: null,
  239. _hasBody: true,
  240. _trailer: '',
  241. finished: false,
  242. _headerSent: false,
  243. socket: [Circular],
  244. connection: [Circular],
  245. _header: null,
  246. _headers: [Object],
  247. _headerNames: [Object],
  248. _onPendingData: [Function: updateOutgoingData],
  249. req: [Circular],
  250. locals: {},
  251. _startAt: undefined,
  252. _startTime: undefined,
  253. writeHead: [Function: writeHead],
  254. __onFinished: [Object] },
  255. _peername: { address: '::1', family: 'IPv6', port: 41445 } },
  256. connection:
  257. Socket {
  258. connecting: false,
  259. _hadError: false,
  260. _handle:
  261. TCP {
  262. bytesRead: 1742,
  263. _externalStream: {},
  264. fd: -1,
  265. reading: true,
  266. owner: [Circular],
  267. onread: [Function: onread],
  268. onconnection: null,
  269. writeQueueSize: 0 },
  270. _parent: null,
  271. _host: null,
  272. _readableState:
  273. ReadableState {
  274. objectMode: false,
  275. highWaterMark: 16384,
  276. buffer: [Object],
  277. length: 0,
  278. pipes: null,
  279. pipesCount: 0,
  280. flowing: true,
  281. ended: false,
  282. endEmitted: false,
  283. reading: true,
  284. sync: false,
  285. needReadable: true,
  286. emittedReadable: false,
  287. readableListening: false,
  288. resumeScheduled: false,
  289. defaultEncoding: 'utf8',
  290. ranOut: false,
  291. awaitDrain: 0,
  292. readingMore: false,
  293. decoder: null,
  294. encoding: null },
  295. readable: true,
  296. domain: null,
  297. _events:
  298. { end: [Object],
  299. finish: [Function: onSocketFinish],
  300. _socketEnd: [Function: onSocketEnd],
  301. drain: [Object],
  302. timeout: [Function],
  303. error: [Object],
  304. close: [Object],
  305. data: [Function: socketOnData],
  306. resume: [Function: onSocketResume],
  307. pause: [Function: onSocketPause] },
  308. _eventsCount: 10,
  309. _maxListeners: undefined,
  310. _writableState:
  311. WritableState {
  312. objectMode: false,
  313. highWaterMark: 16384,
  314. needDrain: false,
  315. ending: false,
  316. ended: false,
  317. finished: false,
  318. decodeStrings: false,
  319. defaultEncoding: 'utf8',
  320. length: 0,
  321. writing: false,
  322. corked: 0,
  323. sync: false,
  324. bufferProcessing: false,
  325. onwrite: [Function],
  326. writecb: null,
  327. writelen: 0,
  328. bufferedRequest: null,
  329. lastBufferedRequest: null,
  330. pendingcb: 0,
  331. prefinished: false,
  332. errorEmitted: false,
  333. bufferedRequestCount: 0,
  334. corkedRequestsFree: [Object] },
  335. writable: true,
  336. allowHalfOpen: true,
  337. destroyed: false,
  338. _bytesDispatched: 736,
  339. _sockname: null,
  340. _pendingData: null,
  341. _pendingEncoding: '',
  342. server:
  343. Server {
  344. domain: null,
  345. _events: [Object],
  346. _eventsCount: 4,
  347. _maxListeners: undefined,
  348. _connections: 1,
  349. _handle: [Object],
  350. _usingSlaves: false,
  351. _slaves: [],
  352. _unref: false,
  353. allowHalfOpen: true,
  354. pauseOnConnect: false,
  355. httpAllowHalfOpen: false,
  356. timeout: 120000,
  357. _pendingResponseData: 0,
  358. _connectionKey: '6::::3000' },
  359. _server:
  360. Server {
  361. domain: null,
  362. _events: [Object],
  363. _eventsCount: 4,
  364. _maxListeners: undefined,
  365. _connections: 1,
  366. _handle: [Object],
  367. _usingSlaves: false,
  368. _slaves: [],
  369. _unref: false,
  370. allowHalfOpen: true,
  371. pauseOnConnect: false,
  372. httpAllowHalfOpen: false,
  373. timeout: 120000,
  374. _pendingResponseData: 0,
  375. _connectionKey: '6::::3000' },
  376. _idleTimeout: 120000,
  377. _idleNext:
  378. TimersList {
  379. _idleNext: [Circular],
  380. _idlePrev: [Circular],
  381. _timer: [Object],
  382. _unrefed: true,
  383. msecs: 120000 },
  384. _idlePrev:
  385. TimersList {
  386. _idleNext: [Circular],
  387. _idlePrev: [Circular],
  388. _timer: [Object],
  389. _unrefed: true,
  390. msecs: 120000 },
  391. _idleStart: 19587,
  392. parser:
  393. HTTPParser {
  394. '0': [Function: parserOnHeaders],
  395. '1': [Function: parserOnHeadersComplete],
  396. '2': [Function: parserOnBody],
  397. '3': [Function: parserOnMessageComplete],
  398. '4': [Function: onParserExecute],
  399. _headers: [],
  400. _url: '',
  401. _consumed: true,
  402. socket: [Circular],
  403. incoming: [Circular],
  404. outgoing: null,
  405. maxHeaderPairs: 2000,
  406. onIncoming: [Function: parserOnIncoming] },
  407. on: [Function: socketOnWrap],
  408. _paused: false,
  409. read: [Function],
  410. _consuming: true,
  411. _httpMessage:
  412. ServerResponse {
  413. domain: null,
  414. _events: [Object],
  415. _eventsCount: 2,
  416. _maxListeners: undefined,
  417. output: [],
  418. outputEncodings: [],
  419. outputCallbacks: [],
  420. outputSize: 0,
  421. writable: true,
  422. _last: false,
  423. upgrading: false,
  424. chunkedEncoding: false,
  425. shouldKeepAlive: true,
  426. useChunkedEncodingByDefault: true,
  427. sendDate: true,
  428. _removedHeader: {},
  429. _contentLength: null,
  430. _hasBody: true,
  431. _trailer: '',
  432. finished: false,
  433. _headerSent: false,
  434. socket: [Circular],
  435. connection: [Circular],
  436. _header: null,
  437. _headers: [Object],
  438. _headerNames: [Object],
  439. _onPendingData: [Function: updateOutgoingData],
  440. req: [Circular],
  441. locals: {},
  442. _startAt: undefined,
  443. _startTime: undefined,
  444. writeHead: [Function: writeHead],
  445. __onFinished: [Object] },
  446. _peername: { address: '::1', family: 'IPv6', port: 41445 } },
  447. httpVersionMajor: 1,
  448. httpVersionMinor: 1,
  449. httpVersion: '1.1',
  450. complete: true,
  451. headers:
  452. { host: 'localhost:3000',
  453. 'user-agent': 'Mozilla/5.0 (Windows NT 6.1; WOW64; rv:50.0) Gecko/20100101 Firefox/50.0',
  454. accept: 'application/json, text/plain, */*',
  455. 'accept-language': 'en-US,en;q=0.5',
  456. 'accept-encoding': 'gzip, deflate',
  457. 'content-type': 'application/json;charset=utf-8',
  458. referer: 'http://localhost:3001/',
  459. 'content-length': '93',
  460. origin: 'http://localhost:3001',
  461. connection: 'keep-alive' },
  462. rawHeaders:
  463. [ 'Host',
  464. 'localhost:3000',
  465. 'User-Agent',
  466. 'Mozilla/5.0 (Windows NT 6.1; WOW64; rv:50.0) Gecko/20100101 Firefox/50.0',
  467. 'Accept',
  468. 'application/json, text/plain, */*',
  469. 'Accept-Language',
  470. 'en-US,en;q=0.5',
  471. 'Accept-Encoding',
  472. 'gzip, deflate',
  473. 'Content-Type',
  474. 'application/json;charset=utf-8',
  475. 'Referer',
  476. 'http://localhost:3001/',
  477. 'Content-Length',
  478. '93',
  479. 'Origin',
  480. 'http://localhost:3001',
  481. 'Connection',
  482. 'keep-alive' ],
  483. trailers: {},
  484. rawTrailers: [],
  485. upgrade: false,
  486. url: '/answer',
  487. method: 'POST',
  488. statusCode: null,
  489. statusMessage: null,
  490. client:
  491. Socket {
  492. connecting: false,
  493. _hadError: false,
  494. _handle:
  495. TCP {
  496. bytesRead: 1742,
  497. _externalStream: {},
  498. fd: -1,
  499. reading: true,
  500. owner: [Circular],
  501. onread: [Function: onread],
  502. onconnection: null,
  503. writeQueueSize: 0 },
  504. _parent: null,
  505. _host: null,
  506. _readableState:
  507. ReadableState {
  508. objectMode: false,
  509. highWaterMark: 16384,
  510. buffer: [Object],
  511. length: 0,
  512. pipes: null,
  513. pipesCount: 0,
  514. flowing: true,
  515. ended: false,
  516. endEmitted: false,
  517. reading: true,
  518. sync: false,
  519. needReadable: true,
  520. emittedReadable: false,
  521. readableListening: false,
  522. resumeScheduled: false,
  523. defaultEncoding: 'utf8',
  524. ranOut: false,
  525. awaitDrain: 0,
  526. readingMore: false,
  527. decoder: null,
  528. encoding: null },
  529. readable: true,
  530. domain: null,
  531. _events:
  532. { end: [Object],
  533. finish: [Function: onSocketFinish],
  534. _socketEnd: [Function: onSocketEnd],
  535. drain: [Object],
  536. timeout: [Function],
  537. error: [Object],
  538. close: [Object],
  539. data: [Function: socketOnData],
  540. resume: [Function: onSocketResume],
  541. pause: [Function: onSocketPause] },
  542. _eventsCount: 10,
  543. _maxListeners: undefined,
  544. _writableState:
  545. WritableState {
  546. objectMode: false,
  547. highWaterMark: 16384,
  548. needDrain: false,
  549. ending: false,
  550. ended: false,
  551. finished: false,
  552. decodeStrings: false,
  553. defaultEncoding: 'utf8',
  554. length: 0,
  555. writing: false,
  556. corked: 0,
  557. sync: false,
  558. bufferProcessing: false,
  559. onwrite: [Function],
  560. writecb: null,
  561. writelen: 0,
  562. bufferedRequest: null,
  563. lastBufferedRequest: null,
  564. pendingcb: 0,
  565. prefinished: false,
  566. errorEmitted: false,
  567. bufferedRequestCount: 0,
  568. corkedRequestsFree: [Object] },
  569. writable: true,
  570. allowHalfOpen: true,
  571. destroyed: false,
  572. _bytesDispatched: 736,
  573. _sockname: null,
  574. _pendingData: null,
  575. _pendingEncoding: '',
  576. server:
  577. Server {
  578. domain: null,
  579. _events: [Object],
  580. _eventsCount: 4,
  581. _maxListeners: undefined,
  582. _connections: 1,
  583. _handle: [Object],
  584. _usingSlaves: false,
  585. _slaves: [],
  586. _unref: false,
  587. allowHalfOpen: true,
  588. pauseOnConnect: false,
  589. httpAllowHalfOpen: false,
  590. timeout: 120000,
  591. _pendingResponseData: 0,
  592. _connectionKey: '6::::3000' },
  593. _server:
  594. Server {
  595. domain: null,
  596. _events: [Object],
  597. _eventsCount: 4,
  598. _maxListeners: undefined,
  599. _connections: 1,
  600. _handle: [Object],
  601. _usingSlaves: false,
  602. _slaves: [],
  603. _unref: false,
  604. allowHalfOpen: true,
  605. pauseOnConnect: false,
  606. httpAllowHalfOpen: false,
  607. timeout: 120000,
  608. _pendingResponseData: 0,
  609. _connectionKey: '6::::3000' },
  610. _idleTimeout: 120000,
  611. _idleNext:
  612. TimersList {
  613. _idleNext: [Circular],
  614. _idlePrev: [Circular],
  615. _timer: [Object],
  616. _unrefed: true,
  617. msecs: 120000 },
  618. _idlePrev:
  619. TimersList {
  620. _idleNext: [Circular],
  621. _idlePrev: [Circular],
  622. _timer: [Object],
  623. _unrefed: true,
  624. msecs: 120000 },
  625. _idleStart: 19587,
  626. parser:
  627. HTTPParser {
  628. '0': [Function: parserOnHeaders],
  629. '1': [Function: parserOnHeadersComplete],
  630. '2': [Function: parserOnBody],
  631. '3': [Function: parserOnMessageComplete],
  632. '4': [Function: onParserExecute],
  633. _headers: [],
  634. _url: '',
  635. _consumed: true,
  636. socket: [Circular],
  637. incoming: [Circular],
  638. outgoing: null,
  639. maxHeaderPairs: 2000,
  640. onIncoming: [Function: parserOnIncoming] },
  641. on: [Function: socketOnWrap],
  642. _paused: false,
  643. read: [Function],
  644. _consuming: true,
  645. _httpMessage:
  646. ServerResponse {
  647. domain: null,
  648. _events: [Object],
  649. _eventsCount: 2,
  650. _maxListeners: undefined,
  651. output: [],
  652. outputEncodings: [],
  653. outputCallbacks: [],
  654. outputSize: 0,
  655. writable: true,
  656. _last: false,
  657. upgrading: false,
  658. chunkedEncoding: false,
  659. shouldKeepAlive: true,
  660. useChunkedEncodingByDefault: true,
  661. sendDate: true,
  662. _removedHeader: {},
  663. _contentLength: null,
  664. _hasBody: true,
  665. _trailer: '',
  666. finished: false,
  667. _headerSent: false,
  668. socket: [Circular],
  669. connection: [Circular],
  670. _header: null,
  671. _headers: [Object],
  672. _headerNames: [Object],
  673. _onPendingData: [Function: updateOutgoingData],
  674. req: [Circular],
  675. locals: {},
  676. _startAt: undefined,
  677. _startTime: undefined,
  678. writeHead: [Function: writeHead],
  679. __onFinished: [Object] },
  680. _peername: { address: '::1', family: 'IPv6', port: 41445 } },
  681. _consuming: true,
  682. _dumped: false,
  683. next: [Function: next],
  684. baseUrl: '',
  685. originalUrl: '/answer',
  686. _parsedUrl:
  687. Url {
  688. protocol: null,
  689. slashes: null,
  690. auth: null,
  691. host: null,
  692. port: null,
  693. hostname: null,
  694. hash: null,
  695. search: null,
  696. query: null,
  697. pathname: '/answer',
  698. path: '/answer',
  699. href: '/answer',
  700. _raw: '/answer' },
  701. params: {},
  702. query: {},
  703. res:
  704. ServerResponse {
  705. domain: null,
  706. _events: { finish: [Object], end: [Function: onevent] },
  707. _eventsCount: 2,
  708. _maxListeners: undefined,
  709. output: [],
  710. outputEncodings: [],
  711. outputCallbacks: [],
  712. outputSize: 0,
  713. writable: true,
  714. _last: false,
  715. upgrading: false,
  716. chunkedEncoding: false,
  717. shouldKeepAlive: true,
  718. useChunkedEncodingByDefault: true,
  719. sendDate: true,
  720. _removedHeader: {},
  721. _contentLength: null,
  722. _hasBody: true,
  723. _trailer: '',
  724. finished: false,
  725. _headerSent: false,
  726. socket:
  727. Socket {
  728. connecting: false,
  729. _hadError: false,
  730. _handle: [Object],
  731. _parent: null,
  732. _host: null,
  733. _readableState: [Object],
  734. readable: true,
  735. domain: null,
  736. _events: [Object],
  737. _eventsCount: 10,
  738. _maxListeners: undefined,
  739. _writableState: [Object],
  740. writable: true,
  741. allowHalfOpen: true,
  742. destroyed: false,
  743. _bytesDispatched: 736,
  744. _sockname: null,
  745. _pendingData: null,
  746. _pendingEncoding: '',
  747. server: [Object],
  748. _server: [Object],
  749. _idleTimeout: 120000,
  750. _idleNext: [Object],
  751. _idlePrev: [Object],
  752. _idleStart: 19587,
  753. parser: [Object],
  754. on: [Function: socketOnWrap],
  755. _paused: false,
  756. read: [Function],
  757. _consuming: true,
  758. _httpMessage: [Circular],
  759. _peername: [Object] },
  760. connection:
  761. Socket {
  762. connecting: false,
  763. _hadError: false,
  764. _handle: [Object],
  765. _parent: null,
  766. _host: null,
  767. _readableState: [Object],
  768. readable: true,
  769. domain: null,
  770. _events: [Object],
  771. _eventsCount: 10,
  772. _maxListeners: undefined,
  773. _writableState: [Object],
  774. writable: true,
  775. allowHalfOpen: true,
  776. destroyed: false,
  777. _bytesDispatched: 736,
  778. _sockname: null,
  779. _pendingData: null,
  780. _pendingEncoding: '',
  781. server: [Object],
  782. _server: [Object],
  783. _idleTimeout: 120000,
  784. _idleNext: [Object],
  785. _idlePrev: [Object],
  786. _idleStart: 19587,
  787. parser: [Object],
  788. on: [Function: socketOnWrap],
  789. _paused: false,
  790. read: [Function],
  791. _consuming: true,
  792. _httpMessage: [Circular],
  793. _peername: [Object] },
  794. _header: null,
  795. _headers:
  796. { 'x-powered-by': 'Express',
  797. 'access-control-allow-origin': '*' },
  798. _headerNames:
  799. { 'x-powered-by': 'X-Powered-By',
  800. 'access-control-allow-origin': 'Access-Control-Allow-Origin' },
  801. _onPendingData: [Function: updateOutgoingData],
  802. req: [Circular],
  803. locals: {},
  804. _startAt: undefined,
  805. _startTime: undefined,
  806. writeHead: [Function: writeHead],
  807. __onFinished: { [Function: listener] queue: [Object] } },
  808. _startAt: [ 28241, 902877271 ],
  809. _startTime: 2017-01-19T16:22:10.678Z,
  810. _remoteAddress: '::1',
  811. body:
  812. { email: 'alen.bumbulovic@gmail.com',
  813. securityAnswer: 'answer',
  814. securityQuestion: 'Option A' },
  815. _body: true,
  816. length: undefined,
  817. read: [Function],
  818. secret: undefined,
  819. cookies: {},
  820. signedCookies: {},
  821. authToken: undefined,
  822. isAuthenticated: true,
  823. route:
  824. Route {
  825. path: '/answer',
  826. stack: [ [Object], [Object] ],
  827. methods: { post: true } },
  828. requestModel:
  829. WebAccountForgotPw {
  830. webaccountID: '',
  831. contactID: '',
  832. comments: '',
  833. createdBy: '',
  834. createdDate: '',
  835. modifiedBy: '',
  836. modifiedDate: '',
  837. updateIndex: '',
  838. password: '',
  839. repeatPassword: '',
  840. securityQuestion: 'Option A',
  841. securityAnswer: 'answer',
  842. loginAttempts: '',
  843. email: 'alen.bumbulovic@gmail.com',
  844. resetPasswordToken: '',
  845. resetPasswordExpires: '',
  846. isValid: [Function],
  847. findByEmail: [Function],
  848. validateSecAnswer: [Function],
  849. resetPassword: [Function] } }
  850. ---------- sql query ----------
  851. query: SELECT ContactID, Password, SecurityQuestion, SecurityAnswer, Email, UpdateIndex FROM WebAccount WHERE Email=@email AND SecurityQuestion=@secQuestion
  852. input: @email, nvarchar, alen.bumbulovic@gmail.com
  853. input: @secQuestion, nvarchar, Option A
  854. ---------- response -----------
  855. { ContactID: '3809A3A9-0031-41FF-9515-96BF61DE0735',
  856. Password: 'U2FsdGVkX19E1iLPIdMIsUZdqcQtQ1hDJiPpj+Qsoos=',
  857. SecurityQuestion: 'Option A',
  858. SecurityAnswer: 'U2FsdGVkX19AmIofe+ZG+WsI8nSE8YvjVLfF4dBCBF0=',
  859. Email: 'alen.bumbulovic@gmail.com',
  860. UpdateIndex: 0 }
  861. ---------- --------------------
  862. duration: 84ms
  863. ---------- completed ----------
  864. POST /answer 200 479.103 ms - 128
  865. ---------- sql query ----------
  866. query: UPDATE WebAccount SET ResetPasswordToken = @resetPasswordToken, ResetPasswordExpires = @resetPasswordExpires, UpdateIndex = @updateIndex WHERE Email=@email AND SecurityQuestion=@secQuestion
  867. input: @resetPasswordToken, nvarchar, 2f057f543b5781050a302361f62fc6feef8f0ca049e6d733
  868. input: @resetPasswordExpires, datetime, Thu Jan 19 2017 18:22:11 GMT+0100 (Central European Standard Time)
  869. input: @updateIndex, int, 0
  870. input: @email, nvarchar, alen.bumbulovic@gmail.com
  871. input: @secQuestion, nvarchar, Option A
  872. ---------- response -----------
  873. duration: 66ms
  874. ---------- completed ----------
  875. Thu, 19 Jan 2017 16:22:11 GMT express deprecated res.send(status): Use res.sendStatus(status) instead at routes\webaccount.js:68:25
  876. An e-mail has been sent to enisbasic1000@gmail.com
  877.  
  878.  
  879. { accepted: [ 'alen.bumbulovic@gmail.com' ],
  880. rejected: [],
  881. response: '250 2.0.0 OK 1484842927 r6sm13786370wmd.4 - gsmtp',
  882. envelope:
  883. { from: 'abpsender@gmail.com',
  884. to: [ 'alen.bumbulovic@gmail.com' ] },
  885. messageId: '61a575ee-f1c0-166b-2d7d-4b0db43f84f3@gmail.com' }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement