User Controls
Current Projects Thread
-
2015-08-01 at 4:14 AM UTCITT: Post about projects you're working on or plan to work on. No matter how big or small, all of my current projects are pretty much tech-wank so even if you're working on hello world or some shit it'd be cool to hear about it. No links required, just say something about what you want to do.
For me I'm writing a lisp which I've written posted about before. It's implemented in JS for no particular reason but I have an idea I'm currently implementing that might make it interesting. Lately I've been doing a fair bit of unit testing in JS and a lot of the components I'm testing exist primarily for DOM manipulation. It's not a totally niche subject, but it's probably not commonplace either, the DOM is a tree like structure that defines the content (but not the visual appearance) of a webpage. When you're testing code under the standard toolset (jquery + karma(maybe) + jasmine/Qunit/whatever) the prevailing paradigm (even with helper libs) is like:
var xyz = $('xyz'),
bla = xyz.find('.foo');
expect(xyz).toBeInDOM();
expect(xyz).toHaveAttr('foo', 'bar');
expect(bla).toHaveLength(42);
// simulate some user interaction
expect(xyz).not.toBeInDOM();
expect(xyz).toHaveAttr('kek', 'lol');
expect(bla).toHaveLength(0);
// etc
Which is one, tedious to express in code once you have non-trivial DOM structures, and two, really poor at expressing invariants between states without repeating yourself a lot. It seems like it would make a lot more sense to express a set of patterns and then compare a DOM subtree against those patterns. For example I could do something like (and this is thought out on-the-fly, I haven't written any of this yet)
(define invariant-structure
(div.container
(h2 "Foobar")
(div.content (children-count (fn (n) (< n 4))))))
(define state-one
(with-mod invariant-structure
(div.container
(div (css-prop "display" "none")))))
(define state-two
(with-mod invariant-structure
(div.content
(div (css-prop "display" "block")))))
(match-always invariant-structure)
(match state-one)
// Simulate user interaction
(match state-two)
Which would express that we expect the DOM to have a container div, with a child h2 and the content "Foobar" at every point in execution, while we expect the structure of `state-one` (which is itself derived from the invariant structure, and thus every time we match it we also match the invariant) to only match the actual DOM before we simulate the user interaction and `state-two` to only match the actual DOM after the user interaction. In the case provided we would be trying to prove that there's a header which is always in the DOM, that the content div always has fewer than four children, and that user interaction changes the content div from the hidden to the visible state while maintaining the invariant structure. This can, of course, be done in native JS (and perhaps it's more useful in that context since I can't bring my open source projects to work but whatever) but I think a lisp is naturally quite well suited to this kind of thing since they're very apt at expressing tree-literal structures in a way almost no other language does well and because the functional tools you find in modern lisps lend themselves to this repeated variant/invariant testing through efficient tree "clones". Patterns can be efficiently expressed as modifications of other other patterns so we express invariance by default and thus catch unintended mutation more easily than the current standard toolset (and unintended mutation is a serious concern in large applications. A lot of smart people have put a lot of effort into techniques for modularization in web development environments and while many have helped tremendously it's still precariously easy to unwittingly mess up something far removed from the code you're touching). -
2015-08-01 at 5:53 AM UTCStill need to get my python gcat to function properly. But after i compile into exe and run on my target machine it opens up a command prompt which is a little annoying and shouldn't happen. However i do get a UUID sent to my C&C server but if i use the command to list the number of active clients i get this error message.
Traceback (most recent call last):
File "C:\Implant\gcat.py", line 200, in
gcat.checkBots()
File "C:\Implant\gcat.py", line 97, in checkBots
msg = msgparser(msg_data)
File "C:\Implant\gcat.py", line 33, in init
self.getPayloads(msg_data)
File "C:\Implant\gcat.py", line 41, in getPayloads
self.dict = ast.literal_eval(payload.get_payload())
File "C:\Python27\lib\ast.py", line 49, in literal_eval
node_or_string = parse(node_or_string, mode='eval')
File "C:\Python27\lib\ast.py", line 37, in parse
return compile(source, filename, mode, PyCF_ONLY_AST)
File "", line 3
What's up with muh libs? "lib\ast.py" is my pyinstaller misconfigured? I don't even know.
Also, if i take the UUID i get from my C&C server and try to run a command like ipconfig i get the following error:Traceback (most recent call last):
File "C:\Implant\gcat.py", line 203, in
gcat.getBotInfo(args.id)
File "C:\Implant\gcat.py", line 119, in getBotInfo
msg = msgparser(msg_data)
File "C:\Implant\gcat.py", line 33, in init
self.getPayloads(msg_data)
File "C:\Implant\gcat.py", line 41, in getPayloads
self.dict = ast.literal_eval(payload.get_payload())
File "C:\Python27\lib\ast.py", line 49, in literal_eval
node_or_string = parse(node_or_string, mode='eval')
File "C:\Python27\lib\ast.py", line 37, in parse
return compile(source, filename, mode, PyCF_ONLY_AST)
File "", line 3
So i've been trying to figure out what's up with all that.
Here's the controller.
https://github.com/byt3bl33d3r/gcat/blob/master/gcat.py
Here's the actual backdoor file.
https://github.com/byt3bl33d3r/gcat/...ter/implant.py
IDK. Also Lan, i got that pillow package and was about to install it but i got notified that pillow was already up to date. -
2015-08-04 at 3 AM UTCI dont have anything to show of it yet but right now I am learning how it works to mod a video game. I am hoping to make a major conversion of Postal 2 that I would call Post /Pol/. Essentially the premise of the game would be eliminating sjw's and degenerates.
Other than that I have the story board started for a text based adventure game just for kikes and giggles.
Ill keep yall updated with whats what when I really get into the core of either of these projects.
I also have a hell of a lot of computer and electronic components that I want to utilize. I have hella hard drives, motherboards for handheld devices, rotors and shit for rc helicopters. Hella diodes and transistors from an arduino I have fiddles around with a few times. If anyone has ideas for fun electronic projects please do suggest.
-
2015-08-04 at 4:06 AM UTC
I dont have anything to show of it yet but right now I am learning how it works to mod a video game. I am hoping to make a major conversion of Postal 2 that I would call Post /Pol/. Essentially the premise of the game would be eliminating sjw's and degenerates.
Other than that I have the story board started for a text based adventure game just for kikes and giggles.
Ill keep yall updated with whats what when I really get into the core of either of these projects.
I also have a hell of a lot of computer and electronic components that I want to utilize. I have hella hard drives, motherboards for handheld devices, rotors and shit for rc helicopters. Hella diodes and transistors from an arduino I have fiddles around with a few times. If anyone has ideas for fun electronic projects please do suggest.
Kamikaze bomb drone. -
2015-08-04 at 3:44 PM UTCKamikaze bomb drone is too simple tbh. I could make one in 5 min flat by compressing a gram of gunpowder with a simple primer charge rigged to go off when the nose of the copter hits someone's head or face. Its just not the type of project I'm looking for.
-
2015-08-04 at 7:55 PM UTC
Kamikaze bomb drone is too simple tbh. I could make one in 5 min flat by compressing a gram of gunpowder with a simple primer charge rigged to go off when the nose of the copter hits someone's head or face. Its just not the type of project I'm looking for.
Gunpowder is lame, use picric acid instead. Also, you seem familiar Mr littlest nigger. Have we shitposted together before? -
2020-12-07 at 2:35 PM UTCbump
-
2020-12-17 at 7:42 AM UTCI started an Android app project that will get crypto prices and alert me if certain levels are reached. I'm going to have it run as a background service and send alerts to my smartwatch. It currently gets the prices of whichever cryptos I chose, logs them, and will display a line graph. It also shows the ratios of cryptos to other cryptos along with a line graph.
-
2020-12-17 at 7:46 AM UTCcryptosporidians
-
2020-12-17 at 7:55 AM UTCMaking some DVDs of home movies for my uncle as a Christmas present.
I have footage he's never seen that I took of his place back in 2003.
Also I have a ton of footage of my grandma he hasn't seen.
Other projects include taking all these sound doodles I made while homeless and turning them into an album. -
2020-12-17 at 9:40 AM UTCBuilding myself a malware development toolkit.
-
2020-12-17 at 9:42 AM UTCThink i've come a long way since 2015 Sophie, struggling with Gcat.
-
2020-12-17 at 9:43 AM UTC
-
2020-12-17 at 10:05 AM UTC
-
2020-12-17 at 4:08 PM UTC
Originally posted by Jesus is king Making some DVDs of home movies for my uncle as a Christmas present.
I have footage he's never seen that I took of his place back in 2003.
Also I have a ton of footage of my grandma he hasn't seen.
Other projects include taking all these sound doodles I made while homeless and turning them into an album.
Originally posted by Sophie Building myself a malware development toolkit.
Good to see we're all on the same page. -
2020-12-17 at 4:20 PM UTCI built a shed like tent and added a wood stove for heat, my project list is Toyota clutch, engine swap in my dragon 700 its gonna be an 800 now.
pull engine on the 850 tripple and find short in wiring so itl run and I can pass my asshole friend in the trails.
driveshaft replacement on my newer toyota.
thats my short list