Jump to content


PixelToast's Content

There have been 15 items by PixelToast (Search limited from 10-February 22)


By content type

See this member's

Sort by                Order  

#249503 Windows 10 venting

Posted by PixelToast on 05 April 2016 - 07:03 PM in General

I have a tri boot setup on one harddrive, windows 7, windows 10, and debian
overnight without my permission windows 7 "upgraded" to windows 10 completely breaking GRUB and the software installed that diddnt work on windows 10 (the only reason i HAD the separate partition in the first place)

also when i leave windows 10 on overnight it randomly BSODs, reboots into windows recovery, thinks GRUB is somehow the cause of the problem and overwrites it
i have had to re install GRUB from a flash drive 6 times now, im sticking with running windows in a VM im completely done

i. really. hate. windows 10

microsoft keeps saying windows 7 is insecure because it was released in 2009 which is just marketing nonsense to excuse them shoving it down your throat
windows 10 is just the windows 7 kernel with UI and default software changes



#246822 Whisk - file/folder transfer

Posted by PixelToast on 28 February 2016 - 12:49 AM in Programs

View PostFUNCTION MAN!, on 28 February 2016 - 12:09 AM, said:

And make it encrypted! (please not memfrob(3)ed)

TIL... http://linux.die.net/man/3/memfrob

The memfrob() function encrypts the first n bytes of the memory area s by exclusive-ORing each character with the number 42. The effect can be reversed by using memfrob() on the encrypted memory area.



#246730 What does CC use for https?

Posted by PixelToast on 27 February 2016 - 08:52 AM in Ask a Pro

I was wondering what http library CC uses, it looks like it is outdated as it cant connect to my webserver over https ( https://pxtst.com/ )
here are my ssl settings:
listen 443 default_server;
	listen [::]:443 default_server;
	ssl_protocols TLSv1.2TLSv1.2;
	ssl_dhparam /var/www/dhparams.pem;
	ssl_ciphers AES256+EECDH:AES256+EDH:!aNULL;
ssl_prefer_server_ciphers on;
ssl_stapling on;
ssl_stapling_verify on;
ssl_session_cache shared:SSL:10m;
ssl_session_timeout 10m;
add_header Strict-Transport-Security "max-age=31536000;";
add_header X-Frame-Options DENY;
add_header X-Content-Type-Options nosniff;
gzip off;
add_header Public-Key-Pins 'pin-sha256="YLh1dUR9y6Kja30RrAn7JKnbQG/uEtLMkBgFF2Fuihg="; pin-sha256="igoT8vBaS0NBnAz3Adc/BWPegCWNGdylWjSJ+4CVxCs="; max-age=2592000;';
	ssl on;
	ssl_certificate /etc/letsencrypt/live/pxtst.com/fullchain.pem;
	ssl_certificate_key /etc/letsencrypt/live/pxtst.com/privkey.pem;

so presumably its because it doesnt support AES256+EECDH or AES256+EDH
i guess i will have to add back some weak ciphers (but i dont know which ones)

EDIT:

looks like the main issue was forcing TLSv1.2 (all major browsers support this, apparently not CC)
it works now

also it looks like this is just a java 7 issue, tls 1.2 and high security ciphers are only supported on java 8



#246478 undocumented Lua patterns?

Posted by PixelToast on 23 February 2016 - 07:12 PM in Ask a Pro

View PostHDeffo, on 23 February 2016 - 04:13 PM, said:

Just did a quick test and as far as I can tell that does seem to be the case :D thank you very much yami. Still don't understand the point instead of just using \0 but I guess some people just have weird preferences

you cannot have a \0 in a lua pattern (in vanilla lua atleast)

the reason is performance, Lua is written in C where standard strings are zero terminated, ie you cannot have a "\0" in a string without using your own string type that holds its own length
to make lua patterns faster and easier to implement, the creators of lua decided to use the standard C string functions on patterns instead of their own functions that would handle any \0s in patterns



#245927 turbokrist - The first ever GPU accelerated Krist miner!

Posted by PixelToast on 17 February 2016 - 04:45 AM in General

Unable to set work size
Exception in thread "main" java.lang.ArrayIndexOutOfBoundsException: 1
at me.apemanzilla.krist.turbokrist.cli.Launcher.main(Launcher.java:117)



#247247 Proper 24-hour time format.

Posted by PixelToast on 03 March 2016 - 10:44 PM in Suggestions

i dont know, here in the US we do 1:04 instead of 01:04
and google seems to agree http://i.imgur.com/IEID4BK.png http://i.imgur.com/S7eDKQQ.png

because im used to seeing it this way, the added 0 makes it less readable



#245209 Program disappeared

Posted by PixelToast on 09 February 2016 - 06:34 PM in Bugs

go into the command prompt and run the "chkdsk" command, if it detects anything is wrong it will prompt you to restart and it on startup it will run chkdsk again but not in read-only mode



#246514 Making Sandbox more Secure

Posted by PixelToast on 24 February 2016 - 05:03 AM in Ask a Pro

View PostHPWebcamAble, on 24 February 2016 - 01:52 AM, said:

View PostQuartz101, on 23 February 2016 - 10:39 AM, said:

View PostMentalHamburger, on 17 February 2016 - 08:46 AM, said:

couldnt you just use
shell.run("rm program")

to get past deleting something

You could just block shell.run

As valithor mentioned just before your comment, the 'rm' program uses fs.delete, so it's already covered.

no, shell.run runs commands in the unsandboxed environment



#241771 LASM - ComputerCraft's First Alternate Programming Language

Posted by PixelToast on 29 December 2015 - 07:22 AM in Programs

If you would like to interpret the bytecode it would be easier to start with my friend's lua interpreter in lua: https://github.com/ds84182/LuaVM
Id probably look into this more if i had an instance with the latest CC, if its simply dumping the bytecode with the wrong endianess i could write a simple recompiler for it



#257681 Httpnet Instant Messages Over Http! No Peripherals Required

Posted by PixelToast on 07 August 2016 - 06:15 PM in Programs

Holy necro batman, please close this thread mods



#240096 Guess Who's Below

Posted by PixelToast on 10 December 2015 - 08:31 PM in Forum Games

nobody would expect me

i guess cranium



#241772 Enchat v2.3 - Encrypted, decentralized, color-formatted chat

Posted by PixelToast on 29 December 2015 - 07:28 AM in Programs

I would reconcider using valithor's encryption library, its based heavily on math.random as a PRNG which uses java's extremely insecure and predictable java.util.Random
also it is prone to known plaintext attacks
in fact I might start writing an OpenCL kernel to crack it..



#245399 Diffie-Hellman Key Exchange (peripheral: 40: too long without yielding)

Posted by PixelToast on 11 February 2016 - 07:39 PM in Ask a Pro

View Postblunty666, on 11 February 2016 - 03:45 PM, said:

What might be the reason for it taking so long is the fact you are exponentiating first and then finding the modulus after (both on line 43 and line 96 in DH.lua):
BigNum.mt.div((base^secret),prime)
This is indeed why it is taking so long, the solution is to implement a modular exponentiation function (commonly called modexp)
for example, this psudocode from wikipedia has O(log(n)) time complexity:
function modular_pow(base, exponent, modulus)
    if modulus = 1 then return 0
    Assert :: (modulus - 1) * (modulus - 1) does not overflow base
    result := 1
    base := base mod modulus
    while exponent > 0
	    if (exponent mod 2 == 1):
		   result := (result * base) mod modulus
	    exponent := exponent >> 1
	    base := (base * base) mod modulus
    return result



#246630 bit api expansion

Posted by PixelToast on 25 February 2016 - 11:04 PM in Suggestions

every other lua bit api allows bit.bxor, bit.bor, and bit.band to accept more than 2 parameters
it would be a really nice feature for compatibility since right now they dont even error when passing more than 2 results



#246424 [Not Whitelisted] [CC 1.79] [Back] VanillaCraft Survival

Posted by PixelToast on 23 February 2016 - 01:37 AM in Servers

IGN: PixelToast
Age (Do not lie, we are open minded): 16
CC Experience: None, as you can see from my profile
Maturity: How do i even answer this? ._.
Have you been banned from another server? If so, which one, and why? (Do not lie, everyone makes mistakes): I dont play multiplayer other than with friends, i dont recall getting banned ever
How much are you going to play? Probably 15-25 hours a day
Will you follow the rules? Yes
What time zone do you live in? EST (the best timezone)

The experience thing is obviously a joke