« first day (1877 days earlier)      last day (3074 days later) » 

4:00 PM
@Borgleader You can look them up in the AST as well. When Wide looks up an identifier, it knows the scope it's in, which includes both local and non-local contexts. So we just ask the context if it's a UDT with a non-static member of that name.
 
@LucDanton thanks
 
@melak47 fun fact: this is what Rust does cc @Rapptz @user703016
 
the AST node for a UDT has a mini-lookup table in it, like a namespace, that details what corresponds to a given name.
 
@LucDanton make everything a function object?
 
Hey do you guys know how I can compile without producing an executable (gcc)? I just wanna see the warnings/errors.
I don't have write perms :P
 
4:15 PM
g++ main.cpp -c /dev/null maybe? :S
 
@melak47 yeah
 
but if you don't have write permissions, how are you writing the file to compile? :D
 
@Nooble there’s -fsyntax-only but I’m not exactly sure what it does, check the manual to see if it really fits the bill
 
@melak47 I'm not. It's there for me.
I'm playing CTF.
 
CompileTheFile?
 
4:23 PM
capture the compiler flag
 
@LucDanton what is this rust thing you seem to regularly mention
 
@Puppy Hmmm yeah, I'm gonna have to rework a lot of code.
 
never heard of it
 
@melak47 pwnable.kr
 
@Xeo That's all right, I'm sorry I did not join in the end
 
user1804599
4:24 PM
@Lalaland Not nullable. Allocation is up to the JS and PHP implementations.
 
@Borgleader I did too- more than once.
 
well when i say a lot of code, i mean most of the code I currently have. because in and of itself its no much code
 
user1804599
@Lalaland You can write class C(x: C) { } but you can never instantiate such a class.
 
Science now says: you need three "10x" coders to offset the productivity losses caused by a single asshole. http://college.usatoday.com/2015/12/05/toxic-co-workers-harmful-to-organization/
 
@R.MartinhoFernandes wtf I just noticed the idea originated in the work of Enki Bilal
 
user1804599
4:29 PM
@Lalaland foo is a method. :) A variable would be written let foo: T = ...;, but interfaces can't declare variables.
 
@Puppy Also, wrt my earlier statement, my ast doesnt encode the order things show up in explicitly. I mean it happens I insert them as child nodes in that order but its not required to be in that order. My point was if I codegen the function first i can look it up in the llvm module and dont need the symboltable to get its type.
 
user1804599
foo has no parameter lists, so you can call it as if you were reading a variable (like a C# property getter).
 
Anyway, I'll start reworking this whole thing.
 
you shouldn't analyze shit by just going through the AST and analyzing everything you find
IME it's better if you can find out what's exported and start from there... then it's easy to detect stuff like dead code.
 
I'm not exactly sure what you mean by that, but I guess it'll make sense eventually :)
 
4:33 PM
Why do I suck at hacking.
:c
I need to learn C.
 
lolwat
 
fail.
 
@Nooble You fail at linking porngrams
 
Hehe.
 
4:40 PM
Try using gets()
 
@набиячлэвэлиь What.
The program exists in a VM and I'm supposed to just give it some amazing input.
 
Hi.
 
sup bby
 
@Nooble what are you supposed to do? gain entry without actually typing the numbers?
 
4:47 PM
@Mr.kbok Do whatever to get that thing to cat flag.
I have execute perms on that thing.
Might just hook it up to a debugger and fuzz it.
 
why don't you just enter the numbers
 
That'll cause a segfault.
It doesn't scanf() to &passcode1.
 
@Nooble Input a name larger than the fixed size buffer for it, then you will need to write past the buffer such that you can overwrite the return address of the function, that return address you can overwrite with an address to your injected shellcode, this will either live in the buffer you overwrote, or in another place in memory.
Its a tricky affair
It requires patience, and dilligence
 
@TonyTheLion Yeah that's probably what I'm going to do.
 
You need to let malice flow through you.
 
4:49 PM
@Nooble oh, lol
@Nooble yeah, the program is broken
 
Understanding the layout of a stackframe is a necessity here.
 
never mind this
 
just replace the return adress with the one where the system() call is
 
@Mr.kbok Yeah I'm going to try to overwrite the EIP.
 
Nowadays, return addresses, or memory addresses in general in a running program will also face the added randomness of ASLR, which has ways around, or for toy programs I think you can switch it off.
 
4:53 PM
For Jefery, that's Address Space Layout Randomization.
:P <3
 
Shellcode should also be encoded, so as to avoid null bytes being misinterpreted in the memory area of your string. Shellcode encoders are available when you look for them. Metasploit is a good framework to play around with prepared payloads, and existing exploits.
Although this stuff is fun to toy with, please don't use for malicious purposes.
 
@user703016 As I said, I should be ok, but I have many things to do, so depending of the day, I may not be available.
 
pls specify
 
Sup, 703016!
 
wadup Elim
 
4:59 PM
sup bby's
 
Nothing much, hungry. Also, how are you not sleeping? :D You in Paris already?
 
Not sleeping is achieved by being awake :P
 
Sleep Cycle Layout Randomization
 
@ElimGarak how to un-optimize your life
 
5:01 PM
@user703016 That's the problem, I don't really know: I'm in Nantes the 19th, with family the 24th and 25th, somewhere lost in Brittany the 28th or 29th, and somewhere (I don't know where yet the 31st).
 
@ElimGarak :3
 
2) Wear a suit
3) Put some alcohol into a cool glass.
4) Look moody by the window
 
5) ???
 
@ElimGarak skyping with family since we're in 3 different TZs with 13h difference
 
@ElimGarak You need a full wall tv screen to show a nebulae
 
5:02 PM
Or a dying star preferably :D
 
@Morwenn Nantes is not in Brittany though
 
@user703016 Never said it was.
 
good
 
user1804599
Not sure if I want . or :: for namespace and static members.
 
user1804599
:: is easier to implement.
 
5:03 PM
use ZWSP
 
Never said it wasn't either.
 
Why did they have to make Illusive Man a baddie. :(
 
@ElimGarak If he wasnt a baddie, he wouldnt need to be illusive
hed just be a man
 
Mass Effect 4 introduces Illusive Man's son... HIV Man.
 
and we already have anderson
 
5:05 PM
std::man
ahahah, that was terrible.. Illusive Man's voice actor is Martin Sheen, father of Charlie Sheen
 
@Elyse :: 4lyfe
 
user1804599
Because types and values live in different namespaces.
 
user1804599
Yeah, I need :: to distinguish between types and values.
 
@Borgleader Btw. have you had a chance to inspect Shadow Broker's info on the Illusive Man?
He likes to get freaky with Asari courtesans.
 
user1804599
And then in N::x, if no type exists named N, assume N to be a namespace.
 
5:07 PM
I didnt
but I'd tap that blue booty too ;)
 
Liara's DLC, Lair of the Shadow Broker
 
You get to tap Liara if you had romanced her previously and didn't fool around.
 
:O
@TonyTheLion i'll follow the law /cc @jaggedSpire @Morwenn
 
5:11 PM
If only they could stay that small forever <3
 
Corgis do
 
I didn't even take the time to annoy all of you tonight, and I already have to go :(
I'll come back later. See you!
 
@Morwenn Smell ya later
 
5:18 PM
 
Ok, yours is creepier. You win.
 
good morning guys.
 
@Borgleader why does he sleep in a tent/
That's the real question.
 
pokemon trainers travel a lot, and not always near hotels :)
 
Oh, it's pokemon?
 
5:30 PM
notice charmander in the first 2 frames, and squirtle and in the last
 
TIL about Charmander and squirtie.
 
user1804599
interface I {
    abstract def foo: int;
}
def caca: I = caca;
def baba: int = caca.foo;
 
user1804599
this compiles :D
 
user1804599
And the output is nothing but pretty: gist.github.com/rightfold/34ca24323cf500fb8eda
 
it's anything but pretty
 
5:35 PM
var directory = directoryInfo.Parent.Parent.Parent.FullName; // Perhaps not the most elegant code ever written
 
> caca
pretty
 
user1804599
Hmm, what to implement first:
 
user1804599
1. Function calls.
 
user1804599
2. Function type variance.
 
or goto
 
user1804599
5:49 PM
no, no goto
 
user1804599
only match and catch
 
user1804599
if is a function
 
@milleniumbug rightfold has long had turpist ideas of beauty
 
I am thinking about playing Assassin's Creed II.
 
why? You can just play the Ist again
 
5:54 PM
@Elyse You realize - you have the guy who knows the most about compiling with a php compile target and a ton about compilers in general in the php room (ircmaxell), just thought that's worth pointing out if you're looking for guidance.
@ElimGarak 2 is the best one
 
@BenjaminGruenbaum I've no idea why he sits there tbh
every time I went to the PHP room I left dumber
 
@BartekBanachewicz 1st was really rough, 2nd is the best one :D
 
@BartekBanachewicz The php room has a ton of really smart people, peehaa, joe watkins, levi, bwoebi, sara, rdlowrey.
 
@BenjaminGruenbaum php room, smart ppl
3
rofl
 
Seriously, Joe once missed the fact he didn't have a debugger for php he liked so he wrote one.
 
5:56 PM
@BenjaminGruenbaum and they are still overwhelmed by the rest of those masses
 
@Borgleader probably the only room with an average skill level higher than this one (maybe Python and Rebol?)
 
@BenjaminGruenbaum #laffo
 
is there a way to see the number of people currently in this chat room?
 
that's so untrue it hurts
 
That's 100% true, it does hurt though.
 
5:57 PM
I still remember how bad at programming discussions I was when I joined here. Maybe I'm still bad, but tremendously better than then. And that room is exactly like when I joined
@BenjaminGruenbaum so far you seem to be in minority holding that opinion
 
@BartekBanachewicz sure, in the c++ room with almost everyone here not being a regular in both rooms for a while.
 
@BenjaminGruenbaum no one's saying that smart people in php room aren't smart
@BenjaminGruenbaum I might be a regular there if I've managed to endure it. I couldn't.
Even C room is more bearable.
 
They're not just smart, they drive php. While PHP is a terrible and shitty language being at the top of a language that drives 80% of the internet still takes incredible competence, especially if you volunteered to take the helm after someone else made a ton of mistakes.
 
PHP is doomed anyway
 
5:59 PM
They are pulling hard but the momentum of terribleness it built up is just too big
 

« first day (1877 days earlier)      last day (3074 days later) »