• Categories
    • Unread
    • Recent
    • Popular
    • Users
    • Groups
    • Register
    • Login
    1. Home
    2. Scuzz
    3. Topics
    Offline
    • Profile
    • Following 0
    • Followers 3
    • Topics 91
    • Posts 375
    • Groups 1

    Topics

    • ScuzzS

      Blog Theme

      Watching Ignoring Scheduled Pinned Locked Moved Announcements blog theme
      3
      3 Posts
      912 Views
      SchamperS
      @Scuzz look at you all doing things and stuff.
    • ScuzzS

      How to Upgrade Ghost

      Watching Ignoring Scheduled Pinned Locked Moved General Computing ghost blog upgrade how to
      1
      1 Posts
      535 Views
      ScuzzS
      Usually the upgrade process for various web based software is very simple. Enter a few commands over SSH, run a script or even upgrade via an admin control panel. Upgrading the Ghost blogging platform is very similar. In this post I will run you through a very quick way of upgrading Ghost to the latest version. How to Upgrade a Ghost Blog Before you upgrade any software it is always recommended to backup all your data. Luckily Ghost has a simple way of backing up. Log into your blog admin control panel and then go to Settings > Labs. Now click the export button. This will download a .JSON file. This file can be used to restore your blog. It is also recommended that you backup your images and theme in your \ghost\content\ directory. This can be done by logging into your server via FTP, SFTP or any other method of accessing your server for file transfers. SSH into your server CD \to\ghost\installation\folder wget http://allaboutghost.com/updateghost chmod +x updateghost ./updateghost The script will run and once it has finished you can now run ghost with your preferred method. At BitBangers we like to run our Ghost blog with Forever. So to get our blog up and running again we need to enter the following command. NODE_ENV=production forever start index.js If the script has run correctly you should have a fully update Ghost instance running. Below is the contents of the updateghost script. #!/bin/bash # Written by Andy Boutte and David Balderston of howtoinstallghost.com, ghostforbeginners.com and allaboutghost.com # updateghost.sh will update your current ghost install to the latest version without you losing any content if [ -f config.js ] then echo `whoami` # Make temporary directory and download latest Ghost. mkdir temp cd temp curl -L -O https://ghost.org/zip/ghost-latest.zip unzip *.zip cd .. # Make database backups. for file in content/data/*.db; do cp "$file" "${file}-backup-`date +%Y%m%d`"; done # Copy the new files over. yes | cp temp/*.md temp/*.js temp/*.json . rm -R core yes | cp -R temp/core . yes | cp -R temp/content/themes/casper content/themes npm install --production # Delete temp folder. rm -R temp echo "You can now start Ghost with npm, forever or whatever else you use." else echo "Please cd to your Ghost directory." fi Thanks to HowToInstallGhost for proving the script and instructions.
    • ScuzzS

      How to remove the name icon in the new Google Chrome update

      Watching Ignoring Scheduled Pinned Locked Moved General Computing google chrome update name
      5
      5 Posts
      973 Views
      JellyformeJ
      Thanks, I needed this post. The name icon was annoying.
    • ScuzzS

      Must watch films

      Watching Ignoring Scheduled Pinned Locked Moved The lounge
      25
      25 Posts
      4k Views
      JellyformeJ
      Where the Red Fern Grows (book and movie) Dumbo 21 and 22 Jump Street
    • ScuzzS

      The Witcher 3: The Wild Hunt - Delayed

      Watching Ignoring Scheduled Pinned Locked Moved Gaming wticher wild hunt
      1
      1 Posts
      475 Views
      ScuzzS
      News has just popped up from CD Projekt Red that The Witcher 3: The Wild Hunt has been delayed. This is one of the games that I am actually looking forward playing. The Witcher 2 was a pretty amazing game and my hopes are that The Witcher 3 will be too. I also like that they chose to delay the game rather than release a buggy unfinished game. "Dear Gamers, Ever since we started working on The Witcher 3: Wild Hunt, we knew it would be an ambitious game. We wanted, and still aim, to give you an incredible experience, an epic adventure in a vast, completely open fantasy universe. The sheer size and complexity of The Witcher, key features of the title, have had a decisive impact on production. Now, nearing the end of our work, we see many details that need to be corrected. When we release the most important game in our studio’s history, we must be absolutely sure that we did everything we could to limit any bugs to a level that will allow you to enjoy the game thoroughly. With this in mind, we took another look at current workloads and what they mean for the team. Even though everyone is working at full speed, we concluded that we need another 12 weeks, so we are shifting the release date of The Witcher 3: Wild Hunt to May 19th, 2015. We owe you an apology. We set the release date too hastily. It’s a hard lesson, one to take to heart for the future. We know what we want to do to make Wild Hunt one of the best RPGs you will ever play. And we continue to work hard to achieve just that. So, we apologize and ask for your trust. Thank you for the all support you show us on a daily basis. We truly do appreciate it. It has fueled us in our passion since the start and will continue to do so. The Board of CD PROJEKT SA" http://thewitcher.com/news/view/906
    • ScuzzS

      Uncharted 4: A Theif's End

      Watching Ignoring Scheduled Pinned Locked Moved Gaming
      1
      1 Posts
      442 Views
      ScuzzS
      Sony did a sneaky little teaser the other day Uncharted 4: A Theif’s End. Now they have released some gameplay. https://www.youtube.com/watch?v=Ow2cL-pp6p8 I really hope that this footage was from an actual PS4 and is close to the final product. With recent experiences with games such as Watchdogs and how they were quite different to their gameplay videos we can only hope that Naughty Dog don’t pull an Ubisoft. I have played all of the Uncharted games except the one on the Vita and I really enjoyed them. To bad I don’t have a PS4 though :( [image: kvxgnv.gif] Dat rope swing though
    • ScuzzS

      [Spoilers]Interstellar

      Watching Ignoring Scheduled Pinned Locked Moved The lounge
      4
      4 Posts
      814 Views
      ScuzzS
      @Almost I kinda had the same feeling about the robots when i first saw them but after you see them in action you can see that they kinda work. Weird design though. :heart: Tars. The planet was made up of frozen clouds. The surface was a lie. Dr Mann made up the surface of that planet and faked the data so that he would eventually get picked for having the “best” planet for building a new human colony. He then executed his plan to take their ship to another planet that actually had a chance of sustaining life. If his plan worked, he would have survived as well. He was pretty selfish. I’m pretty sure they said that it he was the best pilot for this mission and that he had been training for it most of his life. At the start when he has that nightmare. That was one of the test flights for the Lazarus missions but for some reason their was a gravitational anomaly, similar to the one in his house, that stopped him from completing the test. Also, when he is at the school speaking to Murph’s teachers they say that most of the engineers, pilots etc… are not needed any more because all the world needs at the moment are farmers. NASA was also disbanded but kept alive in secret. I’m not sure if they would have been able to train more pilots for the flight.
    • ScuzzS

      Recent updates and changes.

      Watching Ignoring Scheduled Pinned Locked Moved Announcements updates changes
      7
      7 Posts
      1k Views
      AntuA
      @Scuzz It looks a lot better now, thanks !
    • ScuzzS

      The Walking Dead

      Watching Ignoring Scheduled Pinned Locked Moved The lounge walking dead
      7
      7 Posts
      1k Views
      LeoL
      rick why u so craaay
    • ScuzzS

      We love you Goany

      Watching Ignoring Scheduled Pinned Locked Moved The lounge
      3
      3 Posts
      669 Views
      GoaNyG
      I love you too
    • ScuzzS

      WIIIS (Nintendo Wii Image Search)

      Watching Ignoring Scheduled Pinned Locked Moved Development and Coding image wii c++ search
      1
      1 Posts
      516 Views
      ScuzzS
      WIIIS (Nintendo Wii Image Search) As computer games consoles become more and more like computers the need for forensic investigation methodologies and software also increases. Many new games console have hard drives that are able to store images, films and music on them and because of this they can be used to store illegal content. Games console can also be modified to run homebrew applications that give access to hidden areas of the storage of the games console, adding further hiding places for illegal files. This report describes different consoles and their method of modification and the implementation of an image carver for two games consoles. The Nintendo Wii Image Search will search for .jpg files stored on an external SD card and display their location on screen. WIIIS requires the homebrew channel to be installed on the Nintendo Wii console #include <iostream> #include <string> #include <vector> #include <gccore.h> #include <wiiuse/wpad.h> #include <fat.h> #include <dirent.h> using namespace std; static void *xfb = NULL; static GXRModeObj *rmode = NULL; void initVideo() { VIDEO_Init(); WPAD_Init(); rmode = VIDEO_GetPreferredMode(NULL); xfb = MEM_K0_TO_K1(SYS_AllocateFramebuffer(rmode)); console_init(xfb,20,20,rmode->fbWidth,rmode->xfbHeight,rmode->fbWidth*VI_DISPLAY_PIX_SZ); VIDEO_Configure(rmode); VIDEO_SetNextFramebuffer(xfb); VIDEO_SetBlack(FALSE); VIDEO_Flush(); VIDEO_WaitVSync(); if(rmode->viTVMode&VI_NON_INTERLACE) VIDEO_WaitVSync(); cout << "\x1b[2;0H"; } int initFat() { if(!fatInitDefault()) { cout << "Unable to initialise FAT, exiting.\n"; return 1; } DIR *dir; dir = opendir("/"); if(!dir) { cout << "Failed to open dir, exiting.\n"; return 1; } closedir(dir); return 0; } void searchDir(string &rootDir, vector<string> &files) { string filePath; DIR *dir; struct dirent *entry; struct stat statbuf; dir = opendir(rootDir.c_str()); while((entry=readdir(dir)) != 0) { stat(entry->d_name, &statbuf); if(entry->d_name[0] != '.') { filePath.erase(); filePath = rootDir + string(entry->d_name) + "/"; if(S_ISDIR(statbuf.st_mode)) { searchDir(filePath, files); } if(string(entry->d_name).length() > 3) { if(string(entry->d_name).substr(string(entry->d_name).length() - 3, 3) == "jpg") { files.push_back(filePath.substr(0, filePath.size() - 1)); } } } } closedir(dir); } int main(int argc, char **argv) { vector<string> files; initVideo(); initFat(); string rootDir = "/"; cout << "Wii Image Search, press A to start or Home to quit.\n"; while(1) { WPAD_ScanPads(); u32 pressed = WPAD_ButtonsDown(0); if(pressed & WPAD_BUTTON_HOME) { return 0; } if(pressed & WPAD_BUTTON_A) { searchDir(rootDir, files); for(std::vector<string>::const_iterator i = files.begin(); i != files.end(); ++i) { cout << *i << "\n"; } } VIDEO_WaitVSync(); } return 0; }
    • ScuzzS

      Some Encryption program in Python

      Watching Ignoring Scheduled Pinned Locked Moved Development and Coding python enryption
      1
      1 Posts
      875 Views
      ScuzzS
      Encryption program for a university module Usage: python joshcrypt.py [-h] [-e] [-d] keyword inputFile outputFile Flags: [-h] Help. This flag will generate help from the command line. [-e] Encrypt. Use this flag to encrypt the inputFile. [-d] Decrypt. Use this flag to decrypt the inputFile. Arguments: Keyword - The keyword used to encrypt the file. inputFile - The Filename to save the encrypted/decrypted file as. This program needs to be run from the command line; cmd.exe or any terminal emulator will suffice. To start the encryption process a user must type: python joshcrypt.py -e "keyword" "inputfile" "outputfile" Keyword is the password used for the document. Inputfile is the file that you want to be encrypted. Outputfile is the file that you want the encrypted file to be saved as. To start the decryption process a user must type: python joshcrypt.py -d "keyword" "inputfile" "outputfile" Keyword is the password used for the document. Inputfile is the file that you want to be decrypted. Outputfile is the file that you want the plain text file to be saved as. # Requires Python 2.7 as Python 3.0+ contains bugs with the array.array() function. import argparse import array import sys # Opens file as a byte array. def getBlock(fileName): f = open(fileName, "rb") blockArray = array.array('b', f.read()) f.close return blockArray # Converts bytes to string and writes it to a file. def writeBlocks(blocks, fileName): f = open(fileName, "wb") string = blocks.tostring() f.write(blocks) f.close() # Generates a key. # Converts the key into a byte array, creates another byte array of the key but reversed. # Xor the bytes together to generate the final key. def genKey(key): a = array.array('b', key) b = a[::-1] for x in range(len(a)): a[x] = a[x] ^ b[x] return a # Xor the bytes of the key with the bytes of the file. # Loops through the key and adds the times it has looped to the end of the key def encrypt(blocks, key): i = 0 r = 0 for block in range(len(blocks)): blocks[block] = blocks[block] ^ key[i] if i == len(key) - 1: i = 0 r += 1 key = genKey(key.tostring() + str(r)) else: i += 1 return blocks def decrypt(blocks, key): i = 0 r = 0 for block in range(len(blocks)): blocks[block] = blocks[block] ^ key[i] if i == len(key) - 1: i = 0 r += 1 key = genKey(key.tostring() + str(r)) else: i += 1 return blocks # Sets up the command line arguments # Calls functions to encrypt the file. def main(): parser = argparse.ArgumentParser(description="Encrypt and Decrypt a file.") parser.add_argument("-e", action = "store_true", default = False, dest = "edFlag", help = "Encrypt File") parser.add_argument("-d", action = "store_false", default = False, dest = "edFlag", help = "Decrypt File") parser.add_argument("keyword", action = "store", help = "Keyword used to encrypt or decrypt file") parser.add_argument("inputFile", action = "store", help = "Filename to be encrypted/decrypted") parser.add_argument("outputFile", action = "store", help = "Filename to save the encrypted/decrypted file as") args = parser.parse_args() if len(args.keyword) < 10 or len(args.keyword) > 40: print "Password needs to be greater than 10 characters and less than 40" sys.exit(1) if args.edFlag: print "ENCRYPTING" key = genKey(args.keyword) blocks = getBlock(args.inputFile) encrypted = encrypt(blocks, key) writeBlocks(encrypted, args.outputFile) else: print "DECRYPTING" key = genKey(args.keyword) blocks = getBlock(args.inputFile) decrypted = decrypt(blocks, key) writeBlocks(decrypted, args.outputFile) if __name__ == '__main__': main()```
    • ScuzzS

      PS3 Image Searcher (C++)

      Watching Ignoring Scheduled Pinned Locked Moved Development and Coding ps3 image search c++
      1
      1 Posts
      494 Views
      ScuzzS
      Here is a project I did for my final year at uni. It is a homebrew program for the PS3 that will let you search for images files on the HDD and then transfer them to USB. It’s probably buggy as hell and it only searches for file extension and the copy function is stupidly slow but it did work. It’s coded in C++ with some graphic library i found for the PS3. I can’t remember what it is. #include <NoRSX.h> #include <sys/stat.h> #include <sys/file.h> #include <fstream> #include <iostream> #include <string.h> #include <vector> #include <sysmodule/sysmodule.h> #include <io/pad.h> using namespace std; static NoRSX *GFX; string detectUSB() { int fd; string USB = ""; int usbNum = 0; char path [256]; for(usbNum = 0; usbNum < 11; usbNum++) { sprintf(path, "/dev_usb00%d/", usbNum); if(sysLv2FsOpenDir(path, &fd) == 0) { USB = string(path); } } return USB; } void searchDir(string rootDir, vector<string> &fileNames) { sysFSDirent entry; s32 fd; u64 read; string filePath; if(sysLv2FsOpenDir(rootDir.c_str(), &fd) == 0) { sysLv2FsOpenDir(rootDir.c_str(), &fd); while(!sysLv2FsReadDir(fd,&entry,&read) && strlen(entry.d_name)>0) { if(entry.d_name[0] != '.') { if(entry.d_type == 0x01) { GFX->Flip(); filePath.erase(); filePath = rootDir + string(entry.d_name) + "/"; searchDir(filePath, fileNames); } else { if(string(entry.d_name).substr(string(entry.d_name).length() - 3, 3) == "jpg") { fileNames.push_back(rootDir.substr(0, rootDir.size()) + string(entry.d_name)); } } } } sysLv2FsCloseDir(fd); } } void copyFiles(string destDir, vector<string> files) { string destFilePath = ""; string origFilePath = ""; for(std::vector<string>::const_iterator i = files.begin(); i != files.end(); i++) { origFilePath = *i; destFilePath = destDir + origFilePath.substr(origFilePath.find_last_of("/") + 1); ifstream origFile(origFilePath.c_str()); ofstream destFile(destFilePath.c_str()); destFile << origFile.rdbuf(); } } s32 main(s32 argc, const char* argv[]) { padInfo padinfo; padData paddata; ioPadInit(7); GFX = new NoRSX(); Font F(JPN, GFX); Bitmap BMap(GFX); NoRSX_Bitmap Precalculated_Layer; BMap.GenerateBitmap(&Precalculated_Layer); vector<string> files; int debug = 0; string USBStatus = ""; string HDDStatus = ""; string USBFiles = ""; string HDDFiles = ""; string test = ""; int ImagesFound = 160; F.PrintfToBitmap(100,80,&Precalculated_Layer,COLOR_RED,15,"PS3 Image Search, Press X to start or START to quit"); GFX->AppStart(); while(GFX->GetAppStatus()) { ioPadGetInfo(&padinfo); for(int i = 0; i < MAX_PORT_NUM; i++) { if(padinfo.status[i]) { ioPadGetData(i, &paddata); if(paddata.BTN_START) { GFX->AppExit(); } if(paddata.BTN_CROSS) { HDDStatus = "/dev_hdd0/Forensic/"; searchDir("/dev_hdd0/Forensic/", files); for(std::vector<string>::const_iterator i = files.begin(); i != files.end(); ++i) { BMap.DrawBitmap(&Precalculated_Layer); HDDFiles = "File: " + *i; F.PrintfToBitmap(600,ImagesFound,&Precalculated_Layer,COLOR_WHITE,15,"HDD Files: %s", HDDFiles.c_str()); GFX->Flip(); ImagesFound = ImagesFound + 20; } USBStatus = "No USB"; USBFiles = ""; if(detectUSB() != "") { USBStatus = detectUSB(); copyFiles(USBStatus, files); } } } } BMap.DrawBitmap(&Precalculated_Layer); F.Printf(100,100,COLOR_WHITE,15,"USB Status: %s", USBStatus.c_str()); F.Printf(100,120,COLOR_WHITE,15,"USB Files: %s", USBFiles.c_str()); F.Printf(100,140,COLOR_WHITE,15,"HDD Status: %s", HDDStatus.c_str()); F.Printf(100,160,COLOR_WHITE,15,"HDD Files: %s", HDDFiles.c_str()); F.Printf(100,180,COLOR_WHITE,15,"Images Found: %d", ImagesFound); F.Printf(100,200,COLOR_RED,15,"DEBUG: %d", debug); GFX->Flip(); debug++; } BMap.ClearBitmap(&Precalculated_Layer); GFX->NoRSX_Exit(); ioPadEnd(); return 0; }
    • ScuzzS

      Minecraft Server

      Watching Ignoring Scheduled Pinned Locked Moved Gaming minecraft
      13
      13 Posts
      2k Views
      SkyhijinxS
      @GoaNy Sweet. I’ll try to get on during my lunch break.
    • ScuzzS

      How to install Ghost blogging platform on Linux

      Watching Ignoring Scheduled Pinned Locked Moved General Computing ghost blog how to install
      1
      1 Posts
      1k Views
      ScuzzS
      How to install Ghost on linux This tutorial will show you how to install and run Ghost on a Debian based Linux server. This guide presumes you have Node.js and NPM installed and running correctly. First of all you will need to download the Ghost software: curl -L https://ghost.org/zip/ghost-latest.zip -o ghost.zip Then you will need to unzip the Ghost software, we will unzip it to a ghost directory: unzip -uo ghost.zip -d ghost Now you will need to go into the ghost directory: cd ghost Once you are inside the ghost directory you will need to install all the dependencies that Ghost requires to run: npm install --production Once it has installed you can now go ahead and run the Ghost software: npm start To see your blog you will need to open http://127.0.0.1:2368 in your web browser. You can sign in to your control panel by visiting http://127.0.0.1:2368/ghost. Hopefully this has been useful to someone. Ghost is extremely easy to set up and install. There are other configuration option available for Ghost, such as SSL, an Nginx reverse proxy and running Ghost forever. I will write a separate tutorial for these later on; they are just as easy to set up!
    • ScuzzS

      Google Inbox Invite Giveaway!

      Watching Ignoring Scheduled Pinned Locked Moved General Computing google inbox invite giveaway
      11
      11 Posts
      2k Views
      ScuzzS
      I have 5 more to giveaway!
    • ScuzzS

      PlayStation 4 Exploit via Webkit

      Watching Ignoring Scheduled Pinned Locked Moved Gaming ps4 exploit webkit hack playstation
      2
      2 Posts
      881 Views
      ScuzzS
      Just a quick update. With the release of the 2.00 firmware the exploit has been patched. https://twitter.com/Sonikku_a/status/527025131684892672
    • ScuzzS

      PS Vita Exploit via Webkit

      Watching Ignoring Scheduled Pinned Locked Moved Gaming vita hack exploit webkit
      5
      5 Posts
      2k Views
      ScuzzS
      Nice update. Looks like this exploit may work out to be something good.
    • ScuzzS

      The Evil Within console commands

      Watching Ignoring Scheduled Pinned Locked Moved Gaming evil within console commands
      4
      4 Posts
      1k Views
      ScuzzS
      Haha nah, they released some commands that can unlock FPS and change the FOV as people complained about it being locked to 30FPS and those huge black bars.
    • ScuzzS

      Server Upgrade

      Watching Ignoring Scheduled Pinned Locked Moved Announcements server upgrade
      2
      2 Posts
      854 Views
      ScuzzS
      Server upgrade has been completed. I am just waiting for DNS changes to propagate and then we should be up and running as normal. We are also on the latest version of NodeBB. I have noticed some issues with the forum “Restart” function but other than that everything seems to be working correctly. The migration has taken me just under 2 hours and we have experienced zero down time. Pretty cool eh? It’s time for a cup of Tea and then on to install my Ghost blog. Let me know if you have any issues and i’ll will fix them ASAP.
    • 1
    • 2
    • 3
    • 4
    • 5
    • 2 / 5