Help
RSS
API
Feed
Maltego
Contact
Domain > bangpound.org
×
More information on this domain is in
AlienVault OTX
Is this malicious?
Yes
No
DNS Resolutions
Date
IP Address
2019-11-19
104.28.0.96
(
ClassC
)
2026-01-31
104.21.25.98
(
ClassC
)
Port 443
HTTP/1.1 200 OKDate: Sat, 31 Jan 2026 16:17:50 GMTContent-Type: text/html; charsetutf-8Transfer-Encoding: chunkedConnection: keep-aliveServer: cloudflarelast-modified: Wed, 05 Oct 2016 03:14:27 GMTvary: Accept-Encodingaccess-control-allow-origin: *Nel: {report_to:cf-nel,success_fraction:0.0,max_age:604800}expires: Sat, 31 Jan 2026 16:27:50 GMTCache-Control: max-age600Report-To: {group:cf-nel,max_age:604800,endpoints:{url:https://a.nel.cloudflare.com/report/v4?sz0uTbLvwobzkqsC5KqzIQZPhJNTDoQWHA8vSzBA9o%2B%2FZc3CUodnROaRcFSLR490qMu82fAiMsOs410xaMKdwubQIR7kqKptb6D0DZ44%3D}}x-proxy-cache: MISSx-github-request-id: 2828:10E74E:E8DEF8:1088138:697E2B2Ecf-cache-status: DYNAMICCF-RAY: 9c6a85817c364598-PDXalt-svc: h3:443; ma86400 !DOCTYPE html>html>head> title>Home — !&# — bangpound/title> meta charsetutf-8> meta nameviewport contentwidthdevice-width, initial-scale1.0> meta namerobots contentnoindex, follow>link relopenid.server hrefhttps://bangpound.wordpress.com/?openidserver1 />link relopenid.delegate hrefhttps://bangpound.wordpress.com/ /> !-- HTML5 shim, for IE6-8 support of HTML5 elements --> !--if lt IE 9> script srchttp://html5shim.googlecode.com/svn/trunk/html5.js>/script> !endif--> meta namemobile-web-app-capable contentyes> meta nameapple-mobile-web-app-capable contentyes> link relalternate typeapplication/atom+xml href/atom.xml title!&# activity feed /> link relstylesheet href/css/main.css>/head>body classpage__wrapper>div classpage> header classpage__header> h1 classsite-name>a href/>!&#/a>/h1> nav classmain-menu> ul classmain-menu__list> li>a href/about classmain-menu__link>About/a>/li> li>a href/blog classmain-menu__link>Blog/a>/li> /ul> /nav> /header> main classpage__main> article> header> h2>a href/blog/2015/06/26/genet>Genet/a>/h2> /header> p>iframe srchttps://player.vimeo.com/video/4769870 width480 height368 frameborder0 titleJean Genet webkitallowfullscreen mozallowfullscreen allowfullscreen>/iframe>/p> /article> article> header> h2>a href/blog/2015/06/25/guzzle-6-logging-with-symfony-whats-the-right-way-to-create-a-callback-service>Guzzle 6 Logging with Symfony: what's the right way to create a callback service?/a>/h2> /header> p>The a hrefhttps://github.com/guzzle/guzzle/releases/tag/6.0.0>latest version of Guzzle/a> uses PSR-7. Functionality thatpreviously was based on events is now implemented as middleware. The a hrefhttps://github.com/guzzle/log-subscriber>log subscriber/a>is not supported, and the logging middleware is part of the main Guzzle package./p>p>This is how I implemented a Guzzle service with logging with Symfonys container./p>pre>code classlanguage-yaml>parameters: guzzle.class: GuzzleHttp\Client guzzle.stack.class: GuzzleHttp\HandlerStack guzzle.middleware.class: GuzzleHttp\Middleware guzzle.message_formatter.class: GuzzleHttp\MessageFormatterservices: guzzle: class: %guzzle.class% arguments: - handler: @guzzle.stack guzzle.stack: public: false class: %guzzle.stack.class% factory: %guzzle.stack.class%, create calls: - push, @guzzle.logger guzzle.message_formatter: public: false class: %guzzle.message_formatter.class% guzzle.logger: public: false class: callback arguments: @logger, @guzzle.message_formatter factory: GuzzleHttp\Middleware, log/code>/pre>p>On the code>guzzle.logger/code> service, the code>callback/code> class is actually invalid, but without a class, it complains:/p>blockquote>p>Symfony\Component\DependencyInjection\Exception\RuntimeException Please add the class to service "guzzle.logger" even if it is constructed by a factory since we might need to add method calls based on compile-time checks./p>/blockquote>p>Nonetheless, when the dependencies are not public, Symfony compiles the Guzzle client service with a logger correctly./p>pre>code classlanguage-php><?phpuse Symfony\Component\DependencyInjection\Container;class appDevDebugProjectContainer extends Container{ protected function getGuzzleService() { $a \GuzzleHttp\HandlerStack::create(); $a->push(\GuzzleHttp\Middleware::log( $this->get(logger), new \GuzzleHttp\MessageFormatter() )); return $this->servicesguzzle new \GuzzleHttp\Client(array( handler > $a )); }}/code>/pre>p>Given that Symfony services must be objects with classes, what is the right way to create a service with callbackswithout using a factory? The trick is to create the service without a factory, because if the service isconstructed entirely within the container, it could be configured or extended with container extensions and compilerpasses./p> p classtags> Tags: a href/blog/tags/PHP>PHP/a>, a href/blog/tags/Guzzle>Guzzle/a>, a href/blog/tags/Symfony>Symfony/a> /p> /article> article> header> h2>a href/blog/2015/06/22/cube>Cube/a>/h2> /header> p>img src/images/tumblr_nq5yddDasX1r2geqjo1_540.gif altcube />/p> /article> /main> footer classpage__footer> p>© 2016 Benjamin J Doherty/p> /footer>/div>script src/js/prism.js>/script>/body>/html>
View on OTX
|
View on ThreatMiner
Please enable JavaScript to view the
comments powered by Disqus.
Data with thanks to
AlienVault OTX
,
VirusTotal
,
Malwr
and
others
. [
Sitemap
]