code logs -> 2014 -> Sat, 17 May 2014< code.20140516.log - code.20140518.log >
--- Log opened Sat May 17 00:00:38 2014
00:04 JackKnife [Z@Nightstar-484uip.cust.comxnet.dk] has joined #code
00:04 mode/#code [+o JackKnife] by ChanServ
00:30 Vornicus [Vorn@ServerAdministrator.Nightstar.Net] has quit [Connection closed]
00:52 Derakon[AFK] is now known as Derakon
00:53 Turaiel is now known as Turaiel[Offline]
01:02 Turaiel[Offline] is now known as Turaiel
01:04 Derakon [Derakon@Nightstar-5fqf0m.ca.comcast.net] has quit [[NS] Quit: Leaving]
01:04 Derakon [Derakon@Nightstar-5fqf0m.ca.comcast.net] has joined #code
01:04 mode/#code [+ao Derakon Derakon] by ChanServ
01:21 * McMartin eyes the shit out of http://en.opensuse.org/Portal:Distribution
01:21
<&McMartin>
Enjoy your Internet experience, worry-free
01:21
<&McMartin>
Forget worrying about viruses and spyware. openSUSE has none, period.
01:21
< [R]>
lol
01:22
< [R]>
Because rootkits don't exist
01:22
<&McMartin>
Does OpenSuse only run lynx, because JS keyloggers work even in elinks
01:22
< [R]>
elinks does JS?
01:22
<&McMartin>
It does!
01:22
< [R]>
Coo
01:22
< [R]>
I guess with spidermonkey and V8 being libraries now...
01:22
<&McMartin>
I don't think it does the full DOM (though it might), but I recall some of my test scripts actually working.
01:22
<&McMartin>
Yeah
01:23
<&McMartin>
I think it's just that
01:23 * McMartin goes to see if his Most Tedious Walkthrough Ever works.
01:23
< [R]>
Tedious Walkthrough?
01:23
<&McMartin>
Oh, hm, maybe not
01:23
< [R]>
We're talking like MS Press level tedious here?
01:23
<&McMartin>
https://hkn.eecs.berkeley.edu/~mcmartin/if/solutions/nmt.html isn't working for me.
01:23
<&McMartin>
Judge for yourself
01:24
< [R]>
Ah, not as tedious then
01:25
<&McMartin>
Aha
01:25
< [R]>
"PUT WHITE PLATE ON TABLE" could easily be broken down into 8 other steps.
01:25
<&McMartin>
ECMAscript is a set of options in elinks, and it looks like I've got it disabled here.
01:27
< [R]>
In a manual for System Administrators; MS Press decided that opening the run menu had to be 9 steps.
01:27
< [R]>
In every single example.
01:27
<&McMartin>
(1) Remove finger from nose
01:28
< [R]>
That was my major complaint about the MS classes
01:28
<&McMartin>
Heh
01:28
< [R]>
All the books assumed you were mentally challenged.
01:28
<&McMartin>
And here is some JS that *won't* work in elinks: https://hkn.eecs.berkeley.edu/~mcmartin/CCA.html
01:29
< [R]>
Hmm... I wonder why that won't work.
01:29
< [R]>
:p
01:30
<&McMartin>
That said, it seems like the toast stuff isn't working either. I'm just getting an blank console if I turn on JS in elinks.
01:33
<&McMartin>
(Those are to date my only significant JS programs~)
01:34
<&McMartin>
(I've been meaning to port some of the really old management games from BASIC to DHTML as a more permanent record, but doing them right turns out to remove most of the challenge of the originals~)
01:39 Derakon [Derakon@Nightstar-5fqf0m.ca.comcast.net] has quit [[NS] Quit: Leaving]
01:42 Orthia [orthianz@Nightstar-3tp.juj.184.203.IP] has joined #code
01:42 mode/#code [+o Orthia] by ChanServ
01:43 Derakon [Derakon@Nightstar-5fqf0m.ca.comcast.net] has joined #code
01:43 mode/#code [+ao Derakon Derakon] by ChanServ
01:43 JackKnife [Z@Nightstar-484uip.cust.comxnet.dk] has quit [Ping timeout: 121 seconds]
02:19
< [R]>
Heh, they had difficulty bugs?
03:05 Harlow [harlow@Nightstar-9hnfdm.il.comcast.net] has quit [[NS] Quit: This computer has gone to sleep]
03:18 HotShot[ipad] [HotShot@Nightstar-m0fej8.sfldmi.sbcglobal.net] has joined #code
03:20 VirusJTG [VirusJTG@Nightstar-6i5vf7.sta.comporium.net] has quit [Connection closed]
03:21 HotShot[ipad] [HotShot@Nightstar-m0fej8.sfldmi.sbcglobal.net] has quit [Connection closed]
03:22 HotShot [fake@Nightstar-m0fej8.sfldmi.sbcglobal.net] has joined #code
03:36 Syka [the@Nightstar-vvd.lkv.156.120.IP] has joined #code
03:53 Vornicus [Vorn@ServerAdministrator.Nightstar.Net] has joined #code
03:53 mode/#code [+qo Vornicus Vornicus] by ChanServ
03:56 HotShot[ipad] [HotShot@Nightstar-m0fej8.sfldmi.sbcglobal.net] has joined #code
04:00 HotShot[ipad] [HotShot@Nightstar-m0fej8.sfldmi.sbcglobal.net] has quit [Connection closed]
04:00 gnolam_ [lenin@Nightstar-o44c9a.cust.bredbandsbolaget.se] has joined #code
04:01 mac [macdjord@Nightstar-7rac1r.mc.videotron.ca] has joined #code
04:01 celmin [celticminst@Nightstar-g3ttc7.dsl.bell.ca] has joined #code
04:01 Netsplit *.net <-> *.split quits: Xon, @Orthia, @gnolam, @macdjord|wurk, @celticminstrel, @RchrdB, luke, @ToxicFrog
04:01 celmin is now known as celticminstrel
04:02 HotShot[ipad] [HotShot@Nightstar-m0fej8.sfldmi.sbcglobal.net] has joined #code
04:06 luke [flukiluke@Nightstar-q2b7ep.blinkenshell.org] has joined #code
04:06 Xon [Xon@Nightstar-j72.ku7.252.119.IP] has joined #code
04:06 mode/#code [+o celticminstrel] by ChanServ
04:06 HotShot[ipad] [HotShot@Nightstar-m0fej8.sfldmi.sbcglobal.net] has quit [Ping timeout: 121 seconds]
04:06 ToxicFrog [ToxicFrog@ServerAdministrator.Nightstar.Net] has joined #code
04:06 mode/#code [+ao ToxicFrog ToxicFrog] by ChanServ
04:07 RchrdB [RichardB@Nightstar-c6u.vd5.170.83.IP] has joined #code
04:07 Orthia [orthianz@Nightstar-3tp.juj.184.203.IP] has joined #code
04:07 mode/#code [+o Orthia] by ChanServ
04:11 HotShot[ipad] [HotShot@Nightstar-ecje17.mi.comcast.net] has joined #code
04:15 HotShot[ipad] [HotShot@Nightstar-ecje17.mi.comcast.net] has quit [Connection closed]
04:18 HotShot[ipad] [HotShot@Nightstar-ecje17.mi.comcast.net] has joined #code
04:20 HotShot[ipad] [HotShot@Nightstar-ecje17.mi.comcast.net] has quit [Connection closed]
04:21 HotShot [fake@Nightstar-m0fej8.sfldmi.sbcglobal.net] has quit [Ping timeout: 121 seconds]
04:27 Syka [the@Nightstar-vvd.lkv.156.120.IP] has quit [Ping timeout: 121 seconds]
04:34 Orthia [orthianz@Nightstar-3tp.juj.184.203.IP] has quit [Ping timeout: 121 seconds]
04:37 thalass [thalass@Nightstar-1i3669.bigpond.net.au] has joined #code
04:37 mode/#code [+o thalass] by ChanServ
04:38 Orthia [orthianz@Nightstar-3tp.juj.184.203.IP] has joined #code
04:38 mode/#code [+o Orthia] by ChanServ
04:38 Orthia is now known as Reivles
04:49 thalass is now known as Thalaway
04:53 Harlow [harlow@Nightstar-9hnfdm.il.comcast.net] has joined #code
05:05 Thalaway is now known as Thalass
05:06 Thalass is now known as Thalass|game
05:19 Derakon is now known as Derakon[AFK]
05:54 Thalass|game [thalass@Nightstar-1i3669.bigpond.net.au] has quit [Ping timeout: 121 seconds]
05:58 Kindamoody[zZz] is now known as Kindamoody
06:10 RchrdB [RichardB@Nightstar-c6u.vd5.170.83.IP] has quit [[NS] Quit: Gone.]
06:14 RchrdB [RichardB@Nightstar-c6u.vd5.170.83.IP] has joined #code
06:24 Attilla [uid13723@Nightstar-ed0oqj.irccloud.com] has quit [[NS] Quit: Connection closed for inactivity]
06:37 Turaiel is now known as Turaiel[Offline]
06:45 Harlow [harlow@Nightstar-9hnfdm.il.comcast.net] has quit [[NS] Quit: BED]
06:52 * Vornicus gets to write code that makes complicated https requests! using php! somebody kill me!
06:54
<&McMartin>
$ kill -9 Vorn
07:00 * Vornicus doesn't even get to respond.
07:04
< luke>
You need to prevent ressurection as well: find / -name Vornicus -delete
07:11
<&McMartin>
He didn't ask to be unlinked
07:12
< luke>
It's a preventative measure
07:13
< luke>
You can never be too careful when php is involved
07:41
<~Vornicus>
I can't really argue with luke on this one
07:52 Netsplit *.net <-> *.split quits: RchrdB, @Reivles
07:52
<~Vornicus>
also now I am drowning in reference documents that don't actually describe anything, because noone can be bothered to have an up to date example.
07:53
<~Vornicus>
srsly on the first page of google results I found a thing that uses raw sockets to do http requests, what the hell.
08:00 Netsplit over, joins: RchrdB
08:16
<@celticminstrel>
Sounds like fun!
08:19
<~Vornicus>
It's not in the slightest.
08:19
<~Vornicus>
But hey, I'm getting paid for it.
08:24
<&McMartin>
$\o/$
08:24
<~Vornicus>
damn right
08:25
< [R]>
Vornicus: with or without the curl bindings?
08:25
<~Vornicus>
Think I've got those available.
08:25
< [R]>
Cause you may as well go directly for those :p
08:26 * [R] wrote stupid proxies in PHP
08:26
<&McMartin>
I continue to boggle at how curl is incredibly clean and easy to use and libcurl is an endless vortex of recursive spiders
08:26
< [R]>
Haha
08:27
< [R]>
Yeah, I tried to use the C library
08:27
< [R]>
... it was just full of WTFs
08:27
< [R]>
:/
08:28
<~Vornicus>
The big important part -- access to the service's production system requires that I ensure that the certificate is valid including that I trust the whole chain -- and I can't figure out if curl or httpRequest actually do that for me.
08:29
<&McMartin>
Curl can be made to link against OpenSSL, so, um
08:29
<@celticminstrel>
Recursive spiders...
08:29
<&McMartin>
It kind of can do that for you
08:29
<&McMartin>
celticminstrel: Spiders that are, themselves, made of other, smaller spiders.
08:29
<&McMartin>
It's spiders all the way down
08:29
< [R]>
<[R]> zb3: ssl certificate validation libcurl?
08:29
< [R]>
<zb3> http://curl.haxx.se/docs/sslcerts.html - cURL - Details on Server SSL Certificates
08:29
< [R]>
?
08:29
<@celticminstrel>
I think I liked the turtles better.
08:29
<&McMartin>
R: Sounds good
08:30
<&McMartin>
I was mainly observing "Well, it's linking OpenSSL, so guarantees about the certificate chain are, um, somewhat untrustworthy just now, depending" >_>
08:30
<~Vornicus>
[R]: <3
08:31
<&McMartin>
The C libraries are a huge mess and very hard to use but I cannot deny that the documentation is acceptable.
08:31
<&McMartin>
Because I and four of my co-workers have all successfully and independently used it in the past
08:31
<&McMartin>
The part where curl is noticably lacking is if you need to do custom cookie processing
08:32
<~Vornicus>
http://us1.php.net/manual/en/book.curl.php this thing is the curl you're talking about, for php?
08:32
<~Vornicus>
I don't, thank all the saints and angels.
08:32
<&McMartin>
Your options are basically "just do everything yourself" and "I will need to hand-write my own cookie jar and header parser from scratch"
08:32
<&McMartin>
Er, the first option is "just leave everything to curl forever"
08:32 celticminstrel [celticminst@Nightstar-g3ttc7.dsl.bell.ca] has quit [[NS] Quit: And lo! The computer falls into a deep sleep, to awake again some other day!]
08:45 Reivles [orthianz@Nightstar-3tp.juj.184.203.IP] has joined #code
08:45 ServerMode/#code [+o Reivles] by *.Nightstar.Net
09:05 Kindamoody is now known as Kindamoody|afk
09:18 AverageJoe [evil1@Nightstar-fb1kt4.ph.cox.net] has joined #code
09:29 JackKnife [Z@Nightstar-ro94ms.balk.dk] has joined #code
09:30 mode/#code [+o JackKnife] by ChanServ
09:42 AverageJoe [evil1@Nightstar-fb1kt4.ph.cox.net] has quit [[NS] Quit: Leaving]
09:56 * Vornicus gets the things he needs to do tonight done.
10:13
<~Vornicus>
[R]: I need to thank you, you've turned my evening's work from a 4-hour hairpulling session to actually getting stuff done.
10:14
< [R]>
np
11:16 Syka [the@Nightstar-btp.g12.156.120.IP] has joined #code
11:27 VirusJTG [VirusJTG@Nightstar-6i5vf7.sta.comporium.net] has joined #code
11:29 Attilla [uid13723@Nightstar-ed0oqj.irccloud.com] has joined #code
11:29 gnolam_ [lenin@Nightstar-o44c9a.cust.bredbandsbolaget.se] has quit [A TLS packet with unexpected length was received.]
11:37 gnolam [lenin@Nightstar-o44c9a.cust.bredbandsbolaget.se] has joined #code
11:37 mode/#code [+o gnolam] by ChanServ
12:26 Vornicus [Vorn@ServerAdministrator.Nightstar.Net] has quit [[NS] Quit: Leaving]
12:43
<@Azash>
Reading documentation https://i.imgur.com/rEZ1J4e.gif
13:06
<@gnolam>
https://storify.com/AlecMuffett/a-polite-request-to-ee-to-enable-the-porn-on-my- wi
13:28 mac [macdjord@Nightstar-7rac1r.mc.videotron.ca] has quit [Connection reset by peer]
13:28 mac [macdjord@Nightstar-7rac1r.mc.videotron.ca] has joined #code
13:28 mode/#code [+o mac] by ChanServ
13:32
<@Azash>
http://securityreactions.tumblr.com/post/53359489085/when-im-trying-to-find-an-o verflow
13:36
<@froztbyte>
Hahaha
13:36
<@froztbyte>
That's a better one than usual :)
13:40
<@Azash>
Also http://securityreactions.tumblr.com/post/51469562002/bypassing-client-side-valid ation
13:45
<@froztbyte>
Heh
13:45
<@froztbyte>
That's from a British series, I think?
13:48
<@Azash>
froztbyte: From this one https://www.youtube.com/watch?v=FzD01Hu1nPs
13:48
<@Azash>
One of the best ever made IMHO
13:48
<@Azash>
I can't remember which episode but only six were made (before it got cancelled for being too fast-paced for audiences at the time)
13:48
< Julius>
What does "Must be activated with an Americas-region SIM" in context of a smartphone?
13:49
<@froztbyte>
"in colour" ahahahahhaha
13:49
< Julius>
This is supposed to be for someone in Norway, so I guess the issue is "will it work in Norway too"?
13:49
<@froztbyte>
Julius: so uh. Sim cards can be locked to the handset
13:49
<@froztbyte>
Depending on the operator
13:49
<@Azash>
froztbyte: Yeah it was a spoof of all those 50's cop shows like M Squad
13:50
<@froztbyte>
So the context of that question makes a difference
13:50
<@froztbyte>
Are you buying it in the states? Or travelling to
13:50
<@froztbyte>
?*
13:51
< Julius>
My boss wants to buy it off Amazon and wants to know if this will work for him in Norway, if there is some way to make it work for him. Like borrow some American's thingamajig and activate it and then use with a Norwegian card.
13:52
<@froztbyte>
Main first thing to check: gsm or cdma
13:52
<&jeroud>
GSM if it mentions SIM.
13:52
< Julius>
http://www.amazon.com/Samsung-Galaxy-G-900H-16GB-International/dp/B00J4TK4CC/ref =cm_cr_pr_product_top
13:53
<@froztbyte>
After that, it might have operator crapware on it that demands to be "activated"
13:53
<@froztbyte>
Which can be as easy as just reflashing the thing
13:53
<&jeroud>
CDMA has a different identification mechanism.
13:54
<@froztbyte>
Didn't actually know that (because I've been fortunate enough to not have to care)
13:57
< Julius>
So... will it work?
13:58
<@froztbyte>
Up to you to figure out with the relevant pieces of information you now have
13:58
< Julius>
I'm uncertain what 'activation' means. I'm uncertain what 'Americas-region SIM' means.
14:03
<&jeroud>
Julius: The second thing probably means that it must be a SIM with a North American phone number attached.
14:07
< Julius>
OK, so it sounds useless for non-American users.
14:08
<&jeroud>
Julius: If you can reflash it with standard firmware you should be okay.
14:09
<&jeroud>
But that might require either activation or hackery.
14:09
< Julius>
Mhm.
14:09
<&jeroud>
What makes that one better than the Norwegian equivalent?
14:09
< Julius>
Price.
14:10
<&jeroud>
If it's just cheaper, make sure you account for shipping and import duties.
14:10
< Julius>
Boss is regularly in America, so he just has it delivered to the hotel.
14:10
<&jeroud>
Ah.
14:11
<&jeroud>
Then he can probably activate it while he's there.
14:11
<&jeroud>
If all else fails, root it and install a new OS.
14:12
< Julius>
What does activation mean? I'm pretty sure he only has a Norwegian phone now, and Norwegian SIM card or whatever. If activation is required once, but thereafter you can swap out the card bits, and use it normally, why doesn't the seller do it and sell it already activated?
14:13
< Syka>
Julius: you want an "unlocked" handset
14:13
< Syka>
jeroud: and no
14:13
< Syka>
this is a weird .us/.au thing
14:13
< Julius>
Syka: http://www.amazon.com/Samsung-Galaxy-G-900H-16GB-International/dp/B00J4TK4CC/ref =cm_cd_ql_qh_dp_t
14:13
< Julius>
It says "factory unlocked".
14:14
< Syka>
"no warranty" lolwat
14:16
< Syka>
this sounds like a dodgy seller
14:16
< Syka>
i think
14:16
< Syka>
idk
14:16
< Syka>
Julius: if it is unlocked it SHOULD work
14:16
< Julius>
I'm going to disadvise purchase on general principles. If we can't make heads or tails of this offer, then I agree with your opinion on dodginess.
14:16
< Syka>
Julius: is he looking for the S5 specifically?
14:17
< Syka>
because it does have an international version
14:17
< Syka>
which, if factory unlocked, will work with any carrier it supports the bands of
14:17
< Julius>
This does say 'international' too.
14:18
< Julius>
"Samsung Galaxy S5 G-900H 16GB - No Warranty - International Version - Factory Unlocked - Black".
14:18
< Syka>
yeah
14:18
< Syka>
so, taking that, yes it should work
14:18
< Syka>
but the must be activated thing... sounds weird
14:18
<&jeroud>
The "no warranty" might be a problem.
14:20
< Syka>
well, that's true
14:20
< Syka>
samsung are a shit brand
14:20
< Syka>
Julius: looking at it, there's other sellers
14:20
< Syka>
so it might be an amazon fuckup
14:20
< Syka>
ie. someone screwed up the description
14:23
< Julius>
And if they are screwing up descriptions, offering no warranty, and writing English like an IQ 100, I think this works out to a "find other offers".
14:28
< Syka>
yep
14:28 * Syka hugs her moto g
17:43 Reivles [orthianz@Nightstar-3tp.juj.184.203.IP] has quit [Ping timeout: 121 seconds]
18:44 mac is now known as macdjord
19:10 HotShot [HotShot@Nightstar-v7se27.try.wideopenwest.com] has joined #code
19:14
<@macdjord>
Julius: 'writing English like an IQ 100'? An IQ of 100 is, definitionally, average.
19:15
< Julius>
Indeed.
19:20 HotShot [HotShot@Nightstar-v7se27.try.wideopenwest.com] has quit [Ping timeout: 121 seconds]
19:29
< Julius>
Hmm. Are there any remote desktop applications that do support hardware acceleration?
19:29
<@Azash>
I wouldn't think so
19:30
<@Azash>
It doesn't seem like displaying remote desktop data would be able to make much use of a GPU
19:38 Syka [the@Nightstar-btp.g12.156.120.IP] has quit [Ping timeout: 121 seconds]
19:48 Kindamoody|afk is now known as Kindamoody
20:05 Kindamoody is now known as Kindamoody[zZz]
20:19 Vornicus [Vorn@ServerAdministrator.Nightstar.Net] has joined #code
20:19 mode/#code [+qo Vornicus Vornicus] by ChanServ
20:34
<@froztbyte>
https://imgur.com/ehTpiqF believes here, and it's legit, apparently: https://twitter.com/therealmix/status/401053779023253504
21:02
<@gnolam>
Heh
21:21 celticminstrel [celticminst@Nightstar-g3ttc7.dsl.bell.ca] has joined #code
21:21 mode/#code [+o celticminstrel] by ChanServ
21:26
< simon_>
so a friend of mine is trying to feed machine instructions to his C program by modifying the return address. he's doing ./program "$(cat asm-file)" and thus risks that the bytes in asm-file will actually evaluate to shell commands that will e.g. create a shell syntax error before the program is even executed.
21:27
< simon_>
is it even possible to feed a program a binary argument without risking evaluation of the argument?
21:27
< simon_>
is there some sh/bash syntax for calling a command with literal data?
21:27
<&ToxicFrog>
Er
21:27
<&ToxicFrog>
That is what he is doing
21:27
<&ToxicFrog>
In bash, a quoted $() expansion does not re-expand the contents
21:28
<&ToxicFrog>
It may in fact not do so even without the quotes
21:28
<&ToxicFrog>
That said
21:28
< [R]>
Why is he using cat there?
21:29
<&ToxicFrog>
You cannot safely pass binary data in argv regardless of shell, because the argument strings are assumed to be null terminated.
21:29
< [R]>
Oh right, argument, not stdin
21:29
<&ToxicFrog>
He should instead modify "program" to take a filename on the command line, or read the asm from stdin
21:30
< [R]>
Also have fun with memory protection (where blocks of memory are executable while others aren't)
21:41 HotShot [HotShot@Nightstar-v7se27.try.wideopenwest.com] has joined #code
21:48 HotShot [HotShot@Nightstar-v7se27.try.wideopenwest.com] has quit [[NS] Quit: Leaving]
21:57 Turaiel[Offline] is now known as Turaiel
22:45
<&McMartin>
R: There are standard ways to modify that
22:46
<&McMartin>
Well. There are *available* ways. They won't be *standard* per se
22:46
<&McMartin>
But you have to have some way of loading the program and distinguishing text from data in the first place.
23:12 Orthia [orthianz@Nightstar-3tp.juj.184.203.IP] has joined #code
23:12 mode/#code [+o Orthia] by ChanServ
23:39 Derakon[AFK] is now known as Derakon
23:47 Orthia is now known as Reivles
--- Log closed Sun May 18 00:00:54 2014
code logs -> 2014 -> Sat, 17 May 2014< code.20140516.log - code.20140518.log >

[ Latest log file ]