User Controls

  1. 1
  2. 2
  3. 3
  4. ...
  5. 1054
  6. 1055
  7. 1056
  8. 1057
  9. 1058
  10. 1059
  11. ...
  12. 1426
  13. 1427
  14. 1428
  15. 1429

Posts by Sophie

  1. Sophie Pedophile Tech Support
    Originally posted by Bill Krozby oh she's a loli for sure bud, with autism. nerds are sexy, haven't you ever seen the big bangh theory?

    didnt you see that ass when she bent over?

    Post last edited by Bill Krozby at 2016-12-03T07:24:50.582216+00:00

    Do you know the meaning of loli?
  2. Sophie Pedophile Tech Support
    Originally posted by -SpectraL The spambots should have been deleted outright and their IP subset perma-banned. You see, Lanny is TOO liberal. That's his problem, and apparently ours as well. Some day, I'm going to sit that kid down and learn him the finer points of BBS ettiquite.

    Blanket banning an IP subset/range is TOO harsh.
  3. Sophie Pedophile Tech Support
    Originally posted by reject Hey lad I'm just the idea guy, not the implementation guy

    My point is, it's pretty easy for a program to tick a checkbox.
  4. Sophie Pedophile Tech Support
    Alright so i am building a Command and Control server/website/thingy and i am using Django but i am no web dev and i am having some problems.

    What i want is a login page(which i got) and a main page(which i have partly) and i want my malware of choice to login via the login page and land on the main area where it retrieves a key.(More on that later).

    So without further ado here is some technical shit that may help you help me.

    Here is my directory structure.


    Sophie@Ubuntu:~/root_command$ ls -lR
    .:
    total 64
    drwxrwxr-x 4 system system 4096 dec 3 18:08 CNC
    -rw-r--r-- 1 system system 36864 nov 23 04:03 db.sqlite3
    -rwxr-xr-x 1 system system 810 nov 22 22:36 manage.py
    drwxrwxr-x 2 system system 4096 dec 3 18:05 root_command

    ./CNC:
    total 100
    -rw-r--r-- 1 system system 64 nov 23 03:30 admin.py
    -rw-r--r-- 1 system system 122 nov 23 02:17 apps.py
    -rw-r--r-- 1 system system 0 nov 22 23:19 __init__.py
    -rw-r--r-- 1 system system 128 nov 23 02:05 __init__.pyc
    drwxrwxr-x 2 system system 4096 nov 22 23:19 migrations
    -rw-r--r-- 1 system system 98 nov 22 23:19 models.py
    drwxrwxr-x 2 system system 4096 dec 3 18:00 static
    -rw-r--r-- 1 system system 60 nov 22 23:19 tests.py
    -rw-r--r-- 1 system system 803 dec 3 18:08 views.py
    -rw-r--r-- 1 system system 1019 dec 3 18:08 views.pyc

    ./CNC/migrations:
    total 8
    -rw-r--r-- 1 system system 0 nov 22 23:19 __init__.py

    ./CNC/static:
    total 20
    -rw-rw-r-- 1 system system 1044 dec 3 17:55 login.html
    -rw-rw-r-- 1 system system 0 dec 3 18:00 main.html

    ./root_command:
    total 92
    -rw-r--r-- 1 system system 0 nov 22 22:36 __init__.py
    -rw-r--r-- 1 system system 137 nov 22 22:36 __init__.pyc
    -rw-r--r-- 1 system system 3114 nov 22 22:36 settings.py
    -rw-r--r-- 1 system system 2583 nov 22 22:36 settings.pyc
    -rw-r--r-- 1 system system 874 dec 3 18:03 urls.py
    -rw-r--r-- 1 system system 1130 dec 3 18:05 urls.pyc
    -rw-r--r-- 1 system system 402 nov 22 22:36 wsgi.py
    -rw-r--r-- 1 system system 605 nov 22 23:01 wsgi.pyc


    Here is urls.py


    from django.conf.urls import url
    from django.contrib import admin


    from CNC import views

    urlpatterns = [
    url(r'^admin/', admin.site.urls),
    url(r'^main/$', views.main),
    url(r'^login/$', views.login_user),
    ]


    Here is my views.py that lives in CNC.


    from django.http import *
    from django.shortcuts import render_to_response,redirect
    from django.template import RequestContext
    from django.contrib.auth.decorators import login_required
    from django.contrib.auth import authenticate, login, logout

    def login_user(request):
    logout(request)
    username = password = ''
    if request.POST:
    username = request.POST['username']
    password = request.POST['password']

    user = authenticate(username=username, password=password)
    if user is not None:
    if user.is_active:
    login(request, user)
    return HttpResponseRedirect('main.html')
    return render_to_response('login.html', context_instance=RequestContext(request))

    # I will be completing the following later

    #@login_required(login_url='/login/')
    #def main(request):
    # ....


    Here is my copy pasta of Lanny's user models.py with a few adjustments to reduce redundancy in my case.


    from __future__ import unicode_literals

    from django.db import models
    from django.contrib import auth

    class user(auth.models.AbstractBaseUser, auth.models.PermissionsMixin):
    USERNAME_FIELD = 'username'

    username = models.CharField(max_length=256, unique=True)
    date_joined = models.DateTimeField(default=timezone.now)
    is_active = models.BooleanField(default=True)
    is_admin = models.BooleanField(default=False)
    is_staff = models.BooleanField(default=False)

    objects = auth.models.UserManager()

    def get_long_name(self):
    return self.username

    def get_short_name(self):
    return self.get_long_name()

    def get_url(self):
    return '/'


    Probably will need to fine tune it at some point. Now here are some problems, when i want to migrate what i have so far to the database here is what i am getting.


    Sophie@Ubuntu:~/root_command$ python manage.py migrate


    Results in the following.


    File "/home/system/root_command/root_command/urls.py", line 24, in <module>
    url(r'^main/$', views.main),
    AttributeError: 'module' object has no attribute 'main'


    Why? I have a main.html, or is it because i need to make a model for the main page as well? If so how do i do that? And on the subject of models what do i all need to make a model for. Keep in mind the purpose of the site.

    Let me reiterate, i need to be able to login either as admin to manage the database and see the keys and IDs i will store there(Oh yes i will need a model for keys and IDs, any suggestions as to how to write them?) or as 'user' and have a 2048 RSA key in Base64 generated for me.(How i will do this on a website i have no fucking clue.)

    So user login -> posts ID -> key pair gets generated -> public key gets retrieved by the user and private key gets stored in the database.

    Or admin login -> view IDs and corresponding private keys -> possibly change values in the DB or whatever.

    Wut do?


    Post last edited by Sophie at 2016-12-03T18:00:46.768344+00:00
  5. Sophie Pedophile Tech Support
    Originally posted by aldra I came home with a box of sour cream/chilli fries, put them on the table, fed the cat, went to the bathroom.

    came out, cat is standing on the living room table looking at the box of fries - "fuck you buddy leave those alone"

    he jumps down, look at the box and he's eaten all of the sour cream and nothing else

    Cats are crazy like that.
  6. Sophie Pedophile Tech Support
    Originally posted by ))<>(( MyBB takes an interesting approach to this with a hidden field that real users aren't meant to fill out. https://community.mybb.com/thread-176468.html

    It seems to ship with it now. And here's discussion I just found from the other side (of course no golden bullet) http://mybbhacks.zingaburga.com/showthread.php?tid=1114

    I don't see how this can't be bypassed with ease, i will just `try:` for hidden field and `except:` without it.
  7. Sophie Pedophile Tech Support
    Originally posted by Lanny Well I was thinking I'd concoct some sentence like "Is Bill Krozby not not a cuck on opposite day" when the page loads, so the correct answer would be no, leave the box unchecked, and then "has Bill Krozby's girlfriend not remained faithful to him" another time (answer being yes) and generate permutations of theses so the answer requires parsing an english sentence and understanding something about the mechanics of cuckolding which might be difficult for a computer. The issue occurs to me that with exactly zero effort a coin flip will be right 50% of the time so that's a problem but regardless, working the spirit of Bill Krozby's cuckoldry into it somehow is enticing

    Lmao, very well then.
  8. Sophie Pedophile Tech Support
    Originally posted by zok jr. huh?

    Ok we're friends then.
  9. Sophie Pedophile Tech Support
    Originally posted by zok jr. Imake the best quality shitposts and who are you

    HD quality shitpots

    Your arch-nemesis psycho man tits.
  10. Sophie Pedophile Tech Support
    Originally posted by Lanny I went recaptcha because it's drop in and I have a secret hardon for jedigle. We'll see how it goes. There are a few more tricks I can try but I'd rather spend time on features and UI QoL adjustments.

    I like the idea of the cuckbox though. Maybe I could wire something up to ask wether or not Bill Krozby is a cuck in some byzantine way with a random number of nested negatives. Might be a good weekend project at some point.

    Couldn't i just loop through your checkboxes until i got the right one?
  11. Sophie Pedophile Tech Support
    Zok's in my prayers.
  12. Sophie Pedophile Tech Support
    Oh hey Zok jr. Long time no shitpost.
  13. Sophie Pedophile Tech Support
    Originally posted by Bill Krozby I started making a doo wop song about your creepiness two nights ago. I'm going to easily find a way to fit "gum drops" into the lyrics.

    Post last edited by Bill Krozby at 2016-12-03T06:22:49.949185+00:00

    Cool i want a theme song.
  14. Sophie Pedophile Tech Support
    Originally posted by reject You know how Zoklet asked if we were Oranges or some shit?

    Why don't we have one asking if Bill Krozby is a cuck and they have to tick the box to register.


    import mechanize

    br = mechanize.Browser()
    br.set_handle_robots(False)
    br.addheaders = [('user-agent', ' Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.2.3) Gecko/20100423 Ubuntu/10.04 (lucid) Firefox/3.6.3'),
    ('accept', 'text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8')]

    br.open("http://niggasin.space/register/")

    br.form = list(br.forms())[1]

    ###---Yada yada form controls for registration goes here ---###

    try:
    br[checkbox_control] = 1
    except:
    pass

    response = br.submit()

    [/code]

    Boom! Defeated your checkbox.
  15. Sophie Pedophile Tech Support
    Inject anti-virulents directly into your eyeball.
  16. Sophie Pedophile Tech Support
    Meet me in Meadowhall Centre, i'll do ur nan in bruv.
  17. Sophie Pedophile Tech Support
    I am your perpetually positive pedo pal. Need positivity? Rainbows? Scantly clad children playing happily on the beach? Ice cream and lollipops? I'm your guy.
  18. Sophie Pedophile Tech Support
    Good god Bill Krozby...
  19. Sophie Pedophile Tech Support
    Anyway Lan you should set this up as Captcha for registration http://graphcomp.com/index.cgi?v=0000s2p5
  20. Sophie Pedophile Tech Support
    If Turkey goes to war with Syria they go to war with Russia. Which is going to end bad for Turkey.
  1. 1
  2. 2
  3. 3
  4. ...
  5. 1054
  6. 1055
  7. 1056
  8. 1057
  9. 1058
  10. 1059
  11. ...
  12. 1426
  13. 1427
  14. 1428
  15. 1429
Jump to Top