Jump to content

Red Dragon

Member
  • Posts

    47
  • Joined

  • Last visited

Posts posted by Red Dragon

  1. Would be nice if you posted a photo of the chip, perhaps one of us here could advise you on how to repair it.

    Depending on how big the chip is it he could end up needing some ducktape and some spray pain (i am joking please don't head my advice) 

     

    But to @Knaj  thats a bummer but i think that in general damage you caused to it isnt covered in the warranty (if it has one). You might be able to return it but personaly i would just live with it...

     

    Side note i feel like ive seen an infomercial about something that fixes chips but idk

  2. @madknight3 Hey i Finally got back on the forum after getting slammed by all my class work! My project was about the time it takes to brute force things depending on there length characters ect. so the language didnt matter. however even though this project is done i think im going to try using the program you made to see how it compares against the one i ended up using. Ill get back to you once ive got the results any way thank you for the help YOUR A COOL DUDE xD ha ha ha

  3. Well...that's one way to solve the problem I guess...

     

    I kind of find it funny that you went from an easy Python solution (the hardest part was already given to you) to a recursive C++ solution.

    well... i basically just got frustrated and ditched my original approach because this project was time sensitive because it was for school . side note i don't get why people think recursion is so weird (not specifically you just if found the general consensus is that its really funky)  its just a function things that calls its self... Any way i do thank you for helping along the way :) ☻☺☻

  4.  

     
    CPU: Intel Core i5-4460 3.2GHz Quad-Core Processor  ($172.89 @ OutletPC) 
    Motherboard: MSI H81M-E34 Micro ATX LGA1150 Motherboard  ($50.89 @ OutletPC) 
    Storage: Sandisk SSD PLUS 120GB 2.5" Solid State Drive  ($44.99 @ Amazon) 
    Video Card: MSI Radeon R9 380 4GB Video Card  ($204.99 @ Newegg) 
    Case: VIVO CASE-V02 ATX Mid Tower Case  ($38.99 @ Amazon) 
    Power Supply: SeaSonic S12II 430W 80+ Bronze Certified ATX Power Supply  ($53.99 @ SuperBiiz) 
    Total: $607.73
    Prices include shipping, taxes, and discounts when available
    Generated by PCPartPicker 2015-11-14 19:11 EST-0500

     

    in my opinion this is spending too much on the cpu and not enough on the graphics card. i say this because (amusing he is gaming) all he needs is a (current) quadcore and would greatly beneficent from the extra money in the graphics card 

  5.  

    You might want to read this : https://docs.python.org/2/library/itertools.html#itertools.combinations

     

    In c++, something like this :

    const char AlphabetUpper[26] ={    'A', 'B', 'C', 'D', 'E', 'F', 'G',    'H', 'I', 'J', 'K', 'L', 'M', 'N',    'O', 'P', 'Q', 'R', 'S', 'T', 'U',    'V', 'W', 'X', 'Y', 'Z'};const char AlphabetLower[26] ={    'a', 'b', 'c', 'd', 'e', 'f', 'g',    'h', 'i', 'j', 'k', 'l', 'm', 'n',    'o', 'p', 'q', 'r', 's', 't', 'u',    'v', 'w', 'x', 'y', 'z'};// Recursive function, keeps clocking characters// until length is reachedvoid Generate(unsigned int length, std::string s){    if(OK)    {        if(s == str)        {            OK = false;            std::cout << "Found string " << s;            return;        }        if(length == 0) // when length has been reached        {            std::cout << s << "\n"; // print it out            return;        }        for(unsigned int i = 0; i < 26; i++) // iterate through alphabet        {            // Create new string with next character            // Call generate again until string has reached it's length            std::string appended = s + AlphabetLower[i];            Generate(length-1, appended);        }    }}void Crack(){    while(1)    {        // Keep growing till I get it right        static unsigned int stringlength = 1;        Generate(stringlength, "");        stringlength++;    }}int main(){    str = "yes";    std::cout << "Attempting to crack...\n";    Crack();}

     alright ive looked into it and figured i should just use c++ i did find a program very similar to this on the internet and tried to fix it up myself

    i ended up at this

    #include "stdafx.h"#include <iostream>#include <string>using namespace std;char chars[] = {	'0', '1', '2', '3', '4', '5', '6', '7', '8', '9',	'a', 'b', 'c', 'd', 'e', 'f', 'g',	'h', 'i', 'j', 'k', 'l', 'm', 'n',	'o', 'p', 'q', 'r', 's', 't', 'u',	'v', 'w', 'x', 'y', 'z',	'A', 'B', 'C', 'D', 'E', 'F', 'G',	'H', 'I', 'J', 'K', 'L', 'M', 'N',	'O', 'P', 'Q', 'R', 'S', 'T', 'U',	'V', 'W', 'X', 'Y', 'Z',};// Recursive function, keeps clocking characters// until length is reachedstring password;int num = 0;void Generate(unsigned int length, string s){	if (length == 0) // when length has been reached	{		num = num + 1;		cout << s << "\n";		if (s == password){			cout << "Crack Complet. It took" << num << "tries to complet";			exit(0);		}		else{ return; }	}	for (unsigned int i = 0; i < 26; i++) // iterate through alphabet	{		// Create new string with next character		// Call generate again until string has reached it's length		string appended = s + chars[i];		Generate(length - 1, appended);	}}void Crack(){	while (1)	{		// Keep growing till I get it right		static unsigned int stringlength = 1;		Generate(stringlength, "");		stringlength++;	}}int main(){	cout << "yo its you freindly nabrohood pasta chef gimmie ur password" << endl;	cin >> password;	cout << "Attempting to crack...";	Crack();	return 0;}

    but what for some reason it does not include capital letters and numbers when cycling through... do you know why. thank you for helping :)

    @Nineshadow

  6. @madknight3 ok so somethign like this should work 

    import itertoolslist1 = ['a', 'b', 'c', 'd', 'e', 'f', 'g', 'h', 'i', 'j', 'k', 'l', 'm', 'n', 'o', 'p', 'q', 'r', 's', 't', 'u', 'v', 'w', 'x', 'y', 'z', 'A', 'B', 'C', 'D', 'E', 'F', 'G', 'H', 'I', 'J', 'K', 'L', 'M', 'N', 'O', 'P', 'Q', 'R', 'S', 'T', 'U', 'V', 'W', 'X', 'Y', 'Z','1', '2', '3', '4', '5', '6', '7', '8', '9', '0']password = raw_input('Gimmie Ur Password Boi')while true		variablename1 = itertools.product(list , [4])    if password = variablename1:         print it worked

    do i have to convert the user input into a tuple or will it just work automagicly thank you for all your help so far :) 

  7.  

    Edit for @fizzlesticks correction

     

    itertools.permutations won't take into account repeated characters, itertools.product will. Link here. You may have some performance problems depending on how large the word is though. The number of possible options grows very large very fast.

    Word Length | Number Of Possibilities-------------------------------------          3 |                 238,328          4 |              14,776,336          5 |             916,132,832 # at this point it starts taking a long time to loop through the results          6 |          56,800,235,584In case you are wondering how you can calculate these numbersFormula: p = n^kwhere p = number of possibilities      n = number of input options (a-z, A-Z, 0-9 = 62 input options)      k = length of string you are guessing ("password" has a length of 8)For example - Use the formula to get all possibilities of an 8 letter wordp = 62 ^ 8 = 218,340,105,584,896

     Hey thank you for the help! Do i assign the product of this to a variable for a while loop or does this replace the while loop entirely. it it replaces the whole thing what am i going to have to use compare the output against the variable for the password. I read the documentation on itertools.product but im still unsure on how to use its output. Thank you in advanced :)

  8. Hello guys ill just cut to the chace. I'm doing a python brute force program for a school project the goal of it is you enter a sting of letters and numbers then it goes though every combination of letters and number untill it gets it. im pretty sure im going to need a list im just not sure how to cycle though the list and then combine different parts of the list to form a string to compare against the password that would be stored in a variable. here is what i have so far even though it is quite barebones and dosent really accomplish anything 

     

    import timelistoflist = ['a', 'b', 'c', 'd', 'e', 'f', 'g', 'h', 'i', 'j', 'k', 'l', 'm', 'n', 'o', 'p', 'q', 'r', 's', 't', 'u', 'v', 'w', 'x', 'y', 'z', 'A', 'B', 'C', 'D', 'E', 'F', 'G', 'H', 'I', 'J', 'K', 'L', 'M', 'N', 'O', 'P', 'Q', 'R', 'S', 'T', 'U', 'V', 'W', 'X', 'Y', 'Z','1', '2', '3', '4', '5', '6', '7', '8', '9', '0']guess = 'a'def Mememaker:	password = input('Gimmie Ur Password Boi')	while guess =! password:

    (do note that i will clean up the names after i figure this whole thing out lol it just makes me happy when i write my variables :) )

     

    Any help will be greatly appreciated thank you in advanced 

     

  9. Hey guys im trying to get a website up on google app engine for a class im doing and whenever i do it loads up a blank page. It says module has no attribute called environment but i looked it up and all of the code for jinja2 has it so i don't really know what do do. thank you in advance!

     

    AttributeError: 'module' object has no attribute 'enviroment'



    INFO 2015-08-18 08:52:17,038 module.py:808] default: "GET / HTTP/1.1" 500 -
    ERROR 2015-08-18 12:52:20,801 wsgi.py:263]

    Traceback (most recent call last):

    File "C:\Program Files (x86)\Google\google_appengine\google\appengine\runtime\wsgi.py", line 240, in Handle

    handler = _config_handle.add_wsgi_middleware(self._LoadHandler())

    File "C:\Program Files (x86)\Google\google_appengine\google\appengine\runtime\wsgi.py", line 299, in _LoadHandler

    handler, path, err = LoadObject(self._handler)

    File "C:\Program Files (x86)\Google\google_appengine\google\appengine\runtime\wsgi.py", line 85, in LoadObject

    obj = __import__(path[0])

    File "C:\Users\Dean\Desktop\website\Main.py", line 6, in

    jinja_env = jinja2.enviroment(loader = jinja2.FileSystemLoader(template_dir))

    AttributeError: 'module' object has no attribute 'enviroment'

    INFO 2015-08-18 08:52:20,808 module.py:808] default: "GET /favicon.ico HTTP/1.1" 500 -
     

    import jinja2
    import webapp2

    template_dir = os.path.join(os.path.dirname(__file__), 'templates')
    jinja_env = jinja2.Enviroment(loader = jinja2.FileSystemLoader(template_dir))

    class Handler(webapp2.RequestHandler):
    def write(self, *a, **kw):
    self.response.out.write(*a, **kw)

    def render_str(self, template, **params):
    t = jinja_env.get_template(template)
    return t.render(params)

    def render(self, template, **kw):
    self.write(self.render_str(template, **kw))

    class Mainpage(Handler):
    def get(self):
    items = self.request.get_all("comment")
    self.render("Note.html", items = items)




    app = webapp2.WSGIApplication([
    ('/', MainPage),
    ], debug=True)
    import os
     

    version: 1
    runtime: python27
    api_version: 1
    threadsafe: true

    handlers:
    - url: /.*
    script: Main.app

    libraries:
    - name: webapp2
    version: latest
    - name: jinja2
    version: latest
    application: myapp
  10. Hey guys I've been playing league and i wanted to try all the game modes. So when i got to twisted treeline i stomped everyone so i played more games. Ive been noticing that they are all super bad. LIKE REALLY BAD. They don't attack anything but the towers witch they solo with no minions and die a lot. They never get the alters or talk. They instantly leave the game after its over. So i was wondering is the twisted treeline full of super noobs OR is it full of bots people use to level up accounts to 30 and SELL THEM FOR MONEY! Anyway i was just wondering if any of you have played it and noticed the same thing or if you just thing the people who play twisted treeline are just really badpost-165220-0-40698900-1438295308.jpgpost-165220-0-32109600-1438295312.jpg...

  11. Hey guys i was wondering what a formula (like for a line) would be if every time x went up one y doubled.

    Example 

    1,1

    2,2

    3,4

    4,8

    5,16

    6,32 

    etc.

    it would also be helpful if you explained how you did it so i could know for the future

    Thanks in advanced

  12. "Yea or nay" or "Yea or Nea" is an old system of voting seveloped in britain. While "Yay" may express happiness or approval, the saying "Yea or Nay" should be used with the word "Yea" to reflect a vote of "Yes"

    note the last word in the definition ENCOURAGEMENT by saying yea you would be encouraging it therefore approving it #syllogism   

  13. Candy is stupid, waste of time and money. Why harm yourself and gain absolutely nothing?

    and OP "yay" isn't the word that you think you mean, put down the blunt that you don't have and stick that head in a book.

     oh and by the way it is proper use

     yay1

    yā/
    exclamation
    informal
     
    1. expressing triumph, approval, or encouragement.
      "Yay! Great, Julie!"
  14. The Ipod just doesnt make sense....

    maybe in your case but before i was old enough to have a phone i still wanted to get apps and play games so for me the Ipod touch mad a lot of sense 

×