News for hackers. Stuff that matters.

onesmallcoin

When I was a teenager we had some natural disaster and the highschools had to share sites, the way they did it was we did school 12-6. We would eat dinner togeather after school I think we enjoyed it despite not being the norm
Re:Zero-days in Cisco Discovery Protocol on Thursday February 06, 2020 @07:19PM (#22261923)
Flytraps! Probably easier than finding rces
I love these HiSilicon boxes, take a look at the OpenIPC project if you want to secure your device. It's open source firmware for these boxes, I want to give a big shoutout to Igor Zalatov and Flyrouter for all their support when working on these boxes http://openipc.org
@thu2111 He's giving you an attack chain. If you rebind the dns server of the modem with a snmp/tr069 exploit you could redirect/inject into the http traffic a page that contained the javascript payload to exploit the Cable Haunt vulnerabiliy against the Spectrum Analyser endpoint. Because websockets doesn't use CORS to restrict the requesting hosts domain to the modem, you could execute code on the gateway modem from the internet with the combination of a client on the remote network running a http request from a browser combined with an alternative dns rebinding attack against the gateway and a server hosting the malicious websockets payload on a http server.

Edit: or you could get them to click on a link

I recently had the frustration of trying to use a Vodafone ISP Supplied modem. It had a propietary interface which didn't allow using the modem as a bridge to a network not on a vlan. Along with the help of the awesome team at hack-technicolor we managed to find a command execution exploit in the dyndns updater which allowed us to free the Vodafone UltraHub Technicolor DGA0130VDF modem along with others. The device is a cool box running a Dual Core Broadcom 400MHz CPU with 256MB DDR3 RAM it's a DSL/WAN router with ADSL/VDSL, Wi-Fi 11b/g/n/ac 5GHz/2.4GHz, And SIP support for two phones. Also now a working WAN port to a non-vodafone gateway. The device was running openwrt; We also figured out how to keep persistance on the device after a firmware update to an unexploitable version meaning you can even have SSH running on the latest kernel from Vodafone too. In all had a great time working on this box and feels awesome to free an otherwise awesome device from the trash-heap! https://github.com/kevdagoat/hack-technicolor/issues/68
Re:Click Here to Kill on Sunday December 15, 2019 @01:55PM (#21798081)
I'm more getting at the facy that this is a link to reading an article Not a link to a who-can-get rid of the popup the best contest We're the people that build these systems and this is about design and usability and when you open a can of cola you would be upset if it were worms because it said cola on the front I wonder how many hours of peoples lives are lost to trying to control the computer to get it to do what it said it was doing on the tin, rather than what is in the interests of the politics or the profit I correlate it to the same level as clickbait and I'm sure their are other humans out their that get the same taste in their mouth when using the internet, and then go on to do other things instead, which means that they are potentially missing out on learning something vaulable in the future, because of an impression your design made in the past. People should think more about the psycology of design and what the goal of the message of the content their sending is and try not to give into logic like this:

I publish my papers online, they are academic and educational; I want more money. I add ads or political messages onto the website that was before purely educational because it will help me aquire money. You are no longer selling a delicious can of cola but a terrible can of worms

Re:The Next Nuclear Plants Will Be Smaller and Safer on Saturday December 14, 2019 @02:49AM (#21788360)
The New Zealand Nuclear Free Zone, Disarmament and Arms Control Act 1987 is arguably the strongest anti-nuclear weapon domestic legislation in the world. It bans nuclear weapons and propulsion from New Zealand's land, sea and airspace out to the country's 12-mile territorial limits.
Re:Click Here to Kill on Friday December 13, 2019 @02:26PM (#21784531)
Too many popups I quit
Re:The Great Cannon has been deployed again on Friday December 06, 2019 @04:27PM (#21726142)
In most javascript sandboxes if you request a domain from an site you are restricted by the same content policy. This makes it harder to do things like make requests to sites for example that don't use https when your on one that does use it.

https://developer.mozilla.org/en-US/docs/Web/Security/Same-o...

Re:No to Chrome on Friday December 06, 2019 @04:15PM (#21726054)
also no support for plugins web interfaces on chrome headless meaning every time you want to test a plugin you have to bring up a virtual X11 server to deal with it
Re:No to Chrome on Friday December 06, 2019 @04:12PM (#21726033)
I work with chromium using chromes debug protocol (CDP) to do automation. You'd be suprised how much of the browser your dealing with as a facade- they sell things like a headless browser that don't oblige by the most basic of requests given to the browser e.g hide all the scrollbars that in addition to using double the resources and taking twice as long to preform any operations I tell you that thing looks shiny on the surface but their is nothing their I think the work should be done on building and making webkit, blink and gecko better as the referece implementations before we try and yet again make something shiny that can barely do the job it should be
Re:The Two Types of Programmers on Thursday December 05, 2019 @05:58PM (#21717641)
Theirs only two types of sandwiches
Re:Ask HN: How to Convert HTML to PNG on a Serverside? on Thursday December 05, 2019 @02:50AM (#21710647)
I'm currently bootstrapping an api/sass that takes any url and converts it to an image. It runs on top of chromium and uses the CDP protocol to do cool things like automate basic auth, custom http headers, injected js, mock mobile templates and device emulation, custom interactions with the webpage, it can also return json or upload the results to dropbox, s3, or google cloud storage. I'm looking to chat with people interested in this kind of technology as I polish off the final touches on the API and get the product live!

What kind of features would be useful to you if you were to go the API route for something like this?

Re:Weasel: A Stealthy DNS Beacon on Tuesday December 03, 2019 @11:42PM (#21699635)
I used something similar to this in the past to evade traffic manipulation on a controlled network. Iodine gives you a full tun/tap connection and encapsulates an ipv4 connection over dns null requests and responses. I'm not sure it is stealthy as such countless random requests to a single wildcard domain look a little suspicious even in the high noise environment I was testing in the blue team caught on after a few months. I ran mosh and ssh over top to secure the connection Just enough bandwidth for an 80x30 in realtime

https://code.kryo.se/iodine/

Re:The Hidden Life of an Amazon User on Monday November 25, 2019 @06:56AM (#21627296)
And those buttons sure look like amazon buttons
Re:My Favorite Programming Problem to Teach: Digit Length on Sunday November 10, 2019 @08:11PM (#21501366)
What about len(str('12345')) If your teaching python you may as well take advantage of the standard library
I think you can force load a plugin in chromium headless with a command line argument. Last time I checked the issue was accessing the html dom of the extension e.g chrome-extension://blahblahblah as it only returns a blank page. The other annoying issues I experienced and currently remain unresolved in the latest chromium build headless mode + CDP are:

1. Granting permissions to scopes for sites e.g geolocation, notifications in Browser.GrantPermissions

2. Setting a mock geolocation in Page.setGeolocationOverride I've tried replacing the JS navigator function for geolocation, even if you grant the geolocation permission on the site it still says that it is prompting the user

If anyone has any advice on how to resolve these issues without a virtual X server it would be greatly appreciated. Feel free to drop me a bell @ [email protected] or in a comment.

If google needs anyone to find bugs in chrome headless and CDP I need a job.

I generally find other people to hit me with a broom until I finish the project I'm currently working on. This is not renewable because generally these people don't fully understand the product I am building and at the same time the whole broom as a service does get expensive. I think if we can get too the point where we distribute the brooms in such a way that people do not need a third party for their sweeping needs that humanity as a whole might finally be able to finish a project.
Hi, I was wondering if anyone could answer a couple of questions how this application interfaces with CPEs and how it compares to existing tools (TR-064/TR-069). So I understand messages are passed over http

1. how does the cpe then know where to get and set the relevant configuration data? Is this done automaticly or do I have to write additional code to interface with the specific device implementation from here? (how posix compatible is this?)

2. How does this library scale? How many devices are you able to concurrently manage and how beefy of a machine\internet connection does it require?

Looks like a cool project I'm currently writing my own TR-064\TR-069 libary with plans on an ACS in python. I'll have to have a bit more of a read but some more flowcharts would be awesome, I love flowcharts for big picture stuff like this.

Re:Autonomous Weapons Need Autonomous Lawyers on Monday September 30, 2019 @12:48PM (#21117260)
What if one community has money to spend on drones, While the other does not? What if both communities have enough money and value human life so they just send endless drones at each other smashing said drones into pieces until one community has enough money to spend on drones and one does not It could be about power, and from what I've seen, the people that come from that: don't like to not come from that complacency is a word that comes to mind
Re:Keyhut POS: Free Point-of-Sale Software for DOS on Monday September 23, 2019 @05:42AM (#21047318)
I think mental diversity in the workplace is something to be encouraged not ostracized. Personally I find both Terry and Dale to be great, well informed reads despite a bit of what someone else labeled self depreciating behaviour.
Re:Xip.io: Wildcard DNS for Everyone on Tuesday September 10, 2019 @08:13PM (#20935280)
Thanks for the comment- I haven't used Serveo personally, but it looks like a product that ticks pretty much all the boxes my setup goes for without all of the configuration- And their not trying to sell me something +1 for serveo
Re:Xip.io: Wildcard DNS for Everyone on Tuesday September 10, 2019 @07:36PM (#20935053)
I've used ngrok in the past for exposing local projects but didn't like being time limited and then having someone try to sell me something. The setup I went with is I forward my local http servers port over an ssh tunnel to a local port listening on a gcompute VPS running apache with a virtualhost configured using mod_proxy to listen on a subdomain managed my cloudflare, cloudflare then takes care of the https/ssl certificates and your good to go! This setup has been working better than ngrok for me, The only thing I miss is ngroks logging, but I haven't come accross anything I couldn't debug between apaches access.log and my local development console. For anyone doing this more than once a day I really reccomend investing in building your own infastructure, even if you don't learn a thing or two at least your brushing up on a topic.
buy a .edu email, use google compute till you have an MVP to sell
Chromium on mobile has always had issues with AMP for me, I've just come to acept it I think it's wrong for a monopoly to take control of what another entitys site looks like. It's a we can take care of EVERYBODY feature: we were fine without it and will be fine when it doesn't exist anymore
It almost sounds like the kind of place where if you were to' try too pull something like that that it would go down fine, and you'd have your coworkers chatting to you about it's architecture on lunchbreak and then six months down the track you'll find your company releasing the same product
Re:A New Look for Google Search on Wednesday May 22, 2019 @05:36PM (#19985797)
About time we gave favicons the love they deserve, I was worried we were almost going to see them die out. Favicons will live!
Re:IQ rates are dropping in many developed countries on Wednesday May 22, 2019 @02:48PM (#19984219)
IQ tests just seem to be a scale of how quickly one can get boerd of something, and stop trying.
Re:Flexible data tables with CSS Grid on Saturday May 18, 2019 @09:39AM (#19947322)
I find it hard to differentiate between rows when it is in portrait mode one under another. When I've had to do projects with modular tables ect; I've used an awesomelibary called datatables. They have heaps of plugins that let you do things like load from json, filtering and sorting, pagination, export etc. I've found it a very feature complete product off the shelf.
I really hear you, it's hard because in my mind the solutuon would be something along the lines of going back in time a couple thousand years and starting then, it's a delicate thing to care about on both sides and it shouldn't be. We preach equality but the games don't stop- I don't really have the perfect answer here

Older »