User Controls

Current Projects Thread

  1. #1
    Lanny Bird of Courage
    ITT: 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).
  2. #2
    Sophie Pedophile Tech Support
    Still 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.
  3. #3
    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.
  4. #4
    Sophie Pedophile Tech Support
    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.
  5. #5
    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.
  6. #6
    Sophie Pedophile Tech Support
    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?
  7. #7
    mashlehash victim of incest [my perspicuously dependant flavourlessness]
    bump
  8. #8
    SBTlauien African Astronaut
    I 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.
  9. #9
    aldra JIDF Controlled Opposition
    cryptosporidians
    The following users say it would be alright if the author of this post didn't die in a fire!
  10. #10
    Jesus is king African Astronaut
    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.
  11. #11
    Sophie Pedophile Tech Support
    Building myself a malware development toolkit.
  12. #12
    Sophie Pedophile Tech Support
    Think i've come a long way since 2015 Sophie, struggling with Gcat.
  13. #13
    Jesus is king African Astronaut
    Originally posted by Sophie Building myself a malware development toolkit.

    You should use your skills for good
    Attack israeli or chinese assets.
  14. #14
    Sophie Pedophile Tech Support
    Originally posted by Jesus is king You should use your skills for good
    Attack israeli or chinese assets.

    I learned these skills, i decide what i do with them. That said, You've got mail.
    The following users say it would be alright if the author of this post didn't die in a fire!
  15. #15
    SBTlauien African Astronaut
    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.
    The following users say it would be alright if the author of this post didn't die in a fire!
  16. #16
    POLECAT POLECAT is a motherfucking ferret [my presentably immunised ammonification]
    I 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
Jump to Top