pg94
-
Posts
40 -
Joined
-
Last visited
-
Days Won
1
Posts posted by pg94
-
-
So its come time for me to get a new laptop.
I don't know if I should get a 13" or 15", retina or no retina, maxed out specs or not.
Heres what I aspire to use it for.
- Programming ( Java, C++, Swift, ect..)
- I plan on working in the security field, network and mobile.
- I want to be able to run programs and such to create algorithms for cryptology.
- Occasionally run VM's
If I was to get a 13" I would also get an external monitor to use as well.
Since I am in college I tend to travel a lot between Georgia and Tennessee. So portability around campus and travel is important. I only mention this because if anyone could tell me if there is a big difference in the 13" and 15" retina weight! Thanks!
-
package javaapplication1; import java.util.Scanner; public class JavaApplication1 { public static void main(String[] args) { // var String monthString = null; int month = -1; Scanner in = new Scanner(System.in); System.out.print("What month is it? (1-12) "); month = in.nextInt(); String suffix = null; int day = -1; Scanner iu = new Scanner(System.in); System.out.print("What day is it? (1-31) "); day = in.nextInt(); String yearString = null; int year = -1; Scanner it = new Scanner(System.in); System.out.print("What year is it? (2000-2015) "); year = in.nextInt(); switch (month) { case 1: monthString = "January"; break; case 2: monthString = "February"; break; case 3: monthString = "March"; break; case 4: monthString = "April"; break; case 5: monthString = "May"; break; case 6: monthString = "June"; break; case 7: monthString = "July"; break; case 8: monthString = "August"; break; case 9: monthString = "September"; break; case 10: monthString = "October"; break; case 11: monthString = "November"; break; case 12: monthString = "December"; break; default: monthString = "Invalid month"; break; } switch (day) { case 1: case 21: case 31: suffix = "st"; break; case 2: case 22: suffix = "nd"; break; case 3: case 23: suffix = "rd"; break; default: suffix = "th"; break; } switch(year) { case 2015: yearString = "2015"; break; case 2014: yearString = "2014"; break; case 2013: yearString = "2013"; break; case 2012: yearString = "2012"; break; case 2011: yearString = "2011"; break; case 2010: yearString = "2010"; break; case 2009: yearString = "2009"; break; case 2008: yearString = "2008"; break; case 2007: yearString = "2007"; break; case 2006: yearString = "2006"; break; case 2005: yearString = "2005"; break; case 2004: yearString = "2004"; break; case 2003: yearString = "2003"; break; case 2002: yearString = "2002"; break; case 2001: yearString = "2001"; break; case 2000: yearString = "2000"; break; default: System.out.print("Invalid input, try again."); } System.out.println( monthString + day + suffix + year); } }
SWWEEEETTT, I give you the ugliest code but yet functioning! Thanks for the help! Definitely excited to learn to code!
-
package javaapplication1; import java.util.Scanner; public class JavaApplication1 { public static void main(String[] args) { // var String monthString = null; int month = -1; Scanner in = new Scanner(System.in); System.out.print("What month is it? (1-12) "); month = in.nextInt(); switch (month) { case 1: monthString = "January"; break; case 2: monthString = "February"; break; case 3: monthString = "March"; break; case 4: monthString = "April"; break; case 5: monthString = "May"; break; case 6: monthString = "June"; break; case 7: monthString = "July"; break; case 8: monthString = "August"; break; case 9: monthString = "September"; break; case 10: monthString = "October"; break; case 11: monthString = "November"; break; case 12: monthString = "December"; break; default: monthString = "Invalid month"; break; } // Print the month System.out.println(" " + monthString); } public static void daymain(String[] args) { String suffix = null; int day = -1; Scanner in = new Scanner(System.in); System.out.print("What day is it? (1-31) "); day = in.nextInt(); switch (day) { case 1: case 21: case 31: suffix = "st"; break; case 2: case 22: suffix = "nd"; break; case 3: case 23: suffix = "rd"; break; default: suffix = "th"; break; } System.out.println( day + suffix); } public static void yearmain(String[] args) { String suffix = null; int year = -1; Scanner in = new Scanner(System.in); System.out.print("What year is it? (2000-2015) "); year = in.nextInt(); switch (year) { case 2015: System.out.print("2015"); break; case 2014: System.out.print("2014"); break; case 2013: System.out.print("2013"); break; case 2012: System.out.print("2012"); break; case 2011: System.out.print("2011"); break; case 2010: System.out.print("2010"); break; case 2009: System.out.print("2009"); break; case 2008: System.out.print("2008"); break; case 2007: System.out.print("2007"); break; case 2006: System.out.print("2006"); break; case 2005: System.out.print("2005"); break; case 2004: System.out.print("2004"); break; case 2003: System.out.print("2003"); break; case 2002: System.out.print("2002"); break; case 2001: System.out.print("2001"); break; case 2000: System.out.print("2000"); break; default: System.out.print("Invalid Year, Try Again."); }
So I know there is probably an easier way to go about the years but I found copying and pasting to be easiest for my skill level. ONLY problem is how would I combine all of the public static void groups together to get it to run as on continuous program?
So it would ask for the month, day, year, then at the end spit in out all together in MM/DD/YY order?
-
I'm not really proficient in any other languages, I'm just starting to learn about it and its a pretty fast moving course. I greatly appreciate the help everyone! Im going to try and complete the code tonight or tomorrow and will post it!
-
So I'm in an Intro to java class and I'm struggling to write a program.
Basically I need to write a program that when given 09/26/2012 or ANY DATE (1-12/1-31/2000-2015) gives an output of September 26th, 2012.
This is what I've done so far for the months. I'm trying to use the switch method. But I don't know how to ask for user input and make it into a variable so that it would became a month.
package javaapplication1;public class JavaApplication1 {public static void main(String[] args) {//Scanner sc = new scanner(System.in);System.out.println("Day of the month?");{int month == ;String monthString;switch (month){case 1: monthString = "January";break;case 2: monthString = "February";break;case 3: monthString = "March";break;case 4: monthString = "April";break;case 5: monthString = "May";break;case 6: monthString = "June";break;case 7: monthString = "July";break;case 8: monthString = "August";break;case 9: monthString = "September";break;case 10: monthString = "October";break;case 11: monthString = "November";break;case 12: monthString = "December";break;default: monthString = "Invalid month";break;}System.out.println(monthString);}} -
Thanks!
-
So I have a 15 inch Late-2011 MBP i5. I'm looking to put in a 250 GB SSD into it. I only have about 170 GB of memory being used on my mac, half of it is files that need to be deleted. My question is should I replace the CD drive and use that space to put in the SSD or remove the org. HD and put in a SSD. I have a 500 GB external drive I could store my files on a keep stuff on my mac to a min.
I'm not so good with hardware so someone who is, I would appreciate the advice!
-
Mix fire ball and cream soda.
-
Angels Envy if you're into bourbon
-
From my understanding I think its like a key. If you don't have the most up to date version the university servers "quarantine" you and you're not allowed internet access unless you're updating norton. I feel that there may be a way to by pass it but from my understanding the schools system is very solid.
-
-
-
-
I just updated flash, didn't know it was out of date but I don't think that could have been causing my mac and fans to go crazy.
On a side note, I don't have a whole bunch of important documents and programs on my mac, should I move everything I want onto an external drive and re-install the OS?
-
EtreCheck version: 1.9.12 (48)
Report generated June 26, 2014 at 2:03:14 AM EDT
Hardware Information:
MacBook Pro (15-inch, Late 2011) (Verified)
MacBook Pro - model: MacBookPro8,2
1 2.2 GHz Intel Core i7 CPU: 4 cores
8 GB RAM
Video Information:
Intel HD Graphics 3000 - VRAM: 512 MB
AMD Radeon HD 6750M - VRAM: 512 MB
Color LCD 1440 x 900
System Software:
OS X 10.9.3 (13D65) - Uptime: 4 days 6:19:7
Disk Information:
Hitachi HTS545050B9A302 disk0 : (500.11 GB)
EFI (disk0s1) <not mounted>: 209.7 MB
Macintosh HD (disk0s2) / [startup]: 499.25 GB (332.17 GB free)
Recovery HD (disk0s3) <not mounted>: 650 MB
MATSHITADVD-R UJ-8A8
USB Information:
Apple Computer, Inc. IR Receiver
Apple Inc. FaceTime HD Camera (Built-in)
Apple Inc. Apple Internal Keyboard / Trackpad
Apple Inc. BRCM2070 Hub
Apple Inc. Bluetooth USB Host Controller
Thunderbolt Information:
Apple Inc. thunderbolt_bus
Gatekeeper:
Mac App Store and identified developers
Kernel Extensions:
[loaded] com.Symantec.kext.SAVAPComm (11.0.6) Support
[loaded] com.avira.kext.FileAccessControl (1.0.0d1 - SDK 10.9) Support
[not loaded] com.symantec.kext.protector.panther (1.0f5) Support
[not loaded] com.symantec.kext.protector.tigerplus (1.0f5) Support
[loaded] org.virtualbox.kext.VBoxDrv (4.3.12) Support
[loaded] org.virtualbox.kext.VBoxNetAdp (4.3.12) Support
[loaded] org.virtualbox.kext.VBoxNetFlt (4.3.12) Support
[loaded] org.virtualbox.kext.VBoxUSB (4.3.12) Support
Startup Items:
ChmodBPF: Path: /Library/StartupItems/ChmodBPF
NortonMissedTasks: Path: /Library/StartupItems/NortonMissedTasks
SMC: Path: /Library/StartupItems/SMC
SymAutoProtect: Path: /Library/StartupItems/SymAutoProtect
SymProtector: Path: /Library/StartupItems/SymProtector
Launch Daemons:
[loaded] com.adobe.fpsaud.plist Support
[loaded] com.avira.antivirus.dbcleaner.plist Support
[loaded] com.avira.antivirus.ipm.loader.plist Support
[running] com.avira.helper.watchdox.plist Support
[loaded] com.barebones.authd.plist Support
[loaded] com.microsoft.office.licensing.helper.plist Support
[loaded] com.oracle.java.Helper-Tool.plist Support
[running] com.tenablesecurity.nessusd.plist Support
[loaded] org.macosforge.xquartz.privileged_startx.plist Support
[not loaded] org.virtualbox.startup.plist Support
[running] Safe.Connect.plist Support
Launch Agents:
[loaded] com.avira.antivirus.ipm.ui.plist Support
[loaded] com.avira.antivirus.notifications.agent.plist Support
[loaded] com.avira.antivirus.odscan.default.plist Support
[loaded] com.avira.antivirus.scheduler.agent.plist Support
[running] com.avira.antivirus.systray.plist Support
[loaded] com.avira.antivirus.telemetry.agent.plist Support
[loaded] com.avira.antivirus.update.default.plist Support
[loaded] com.oracle.java.Java-Updater.plist Support
[running] com.symantec.quickmenu.application.plist Support
[loaded] org.macosforge.xquartz.startx.plist Support
[running] Safe.Connect.client.plist Support
User Launch Agents:
[failed] com.apple.CSConfigDotMacCert-[...]@me.com-SharedServices.Agent.plist
[loaded] com.google.keystone.agent.plist Support
[running] com.iobit.AMCMenu.plist Support
[not loaded] com.iobit.AMCUpdate.plist Support
[running] com.spotify.webhelper.plist Support
[not loaded] org.virtualbox.vboxwebsrv.plist Support
User Login Items:
uTorrent
Google Drive
WDDriveUtilityHelper
WDDriveUtilityHelper
WDSecurityHelper
SpeechSynthesisServer
WDSecurityHelper
Spotify
Internet Plug-ins:
Flip4Mac WMV Plugin: Version: 3.0.0.126 - SDK 10.8 Support
FlashPlayer-10.6: Version: 13.0.0.214 - SDK 10.6 Support
QuickTime Plugin: Version: 7.7.3
Flash Player: Version: 13.0.0.214 - SDK 10.6 Outdated! Update
Default Browser: Version: 537 - SDK 10.9
SharePointBrowserPlugin: Version: 14.3.9 - SDK 10.6 Support
Unity Web Player: Version: UnityPlayer version 4.3.1f1 - SDK 10.6 Support
Silverlight: Version: 5.1.20125.0 - SDK 10.6 Support
JavaAppletPlugin: Version: Java 8 Update 05 Check version
Safari Extensions:
Open in Internet Explorer: Version: 1.0
Audio Plug-ins:
BluetoothAudioPlugIn: Version: 1.0 - SDK 10.9
AirPlay: Version: 2.0 - SDK 10.9
AppleAVBAudio: Version: 203.2 - SDK 10.9
iSightAudio: Version: 7.7.3 - SDK 10.9
iTunes Plug-ins:
Quartz Composer Visualizer: Version: 1.4 - SDK 10.9
User Internet Plug-ins:
Google Earth Web Plug-in: Version: 7.1 Support
3rd Party Preference Panes:
Flash Player Support
Flip4Mac WMV Support
Java Support
Nessus.Preferences Support
SymAutoProtect
Symantec\nQuickMenu Support
Time Machine:
Skip System Files: NO
Mobile backups: OFF
Auto backup: NO - Auto backup turned off
Volumes being backed up:
Macintosh HD: Disk size: 464.96 GB Disk used: 155.61 GB
Destinations:
XXXXXXX Time Capsu [Network] (Last used)
Total size: 2
Total number of backups: 47
Oldest backup: 2011-12-25 04:57:43 +0000
Last backup: 2013-07-11 17:27:24 +0000
Size of backup disk: Excellent
Backup size 2 > (Disk size 464.96 GB X 3)
Time Machine details may not be accurate.
All volumes being backed up may not be listed.
Top Processes by CPU:
9% com.apple.WebKit.WebContent
2% Safari
2% WindowServer
1% com.apple.WebKit.Networking
1% hidd
Top Processes by Memory:
688 MB SymAutoProtect
328 MB savapi
279 MB nessusd
156 MB softwareupdated
131 MB Safari
Virtual Memory Information:
1.17 GB Free RAM
3.34 GB Active RAM
2.12 GB Inactive RAM
1.27 GB Wired RAM
1.37 GB Page-ins
70 MB Page-outs
-
-
I don't pirate software, I see it to much of a risk. Thanks for the help, greatly appreciated!
-
My mac is acting up and I don't know if its a virus or something else. Anyone know how I would find out?
-
True, if I wanted to have an easier target Android would be the way to go. It's reportedly the most vulnerable OS in the mobile industry thats widely used, with Apple right behind it. But the reason why I want to focus on the iPhone is because I have access to one. Unless you have any suggestions of a relatively cheap Android device that can be used.
-
So recently I watched a video on Motherboard, about hacking cellphones and what not, interesting video. I also watched this video on youtube by CNNMone . I want to know how would you go about intercepting in coming and outgoing text.
Theoretically could you use a wifi pineapple to conduct a man in the middle attack with a cell phone being the target? Or just by setting up using your own wifi network and then using programs to preform such task?
I noticed one of the guys in the Motherboard video was using Kali linux (I think) to steal cell phone info. Can you use kali linux for mobile pen testing?
This is where I'm stuck at with all of this. I don't know where to start, I need help getting pointed in the right direction. I'm not asking for someone to type up the whole experiment for me but rather give me a starting point.
*Must add, this is for research purposes only, I have no intentions of stealing or spying on others information. I would be using my own iPhone and network for this test.* If possible learn how the vulnerability works and build an app to combat the threat.
Motherboard
CNN Money
-
Just a side note, I have no intentions of using TOR. I guess I was just curious as to what others thought about it. I mean yes TOR is much more secure but that doesn't mean its impossible to track it back to the original source. I watched a video earlier which raised the question of who exactly runs TOR? If people voluntarily allow their computers to be used as nodes then it should raise some concern, right? Also on the black market and in general, hackers hack each other probably more than regular users of the internet. Overall how do you know who ever runs TOR isn't stealing info and credentials?
Cooper: I have to give you credit, you're knowledgeable about a lot of things and give very in-depth answers. Your answers help me a lot as I'm sure they do for other users.
-
-
I always see guys running a shell with all of a devices activity showing up thats running in the background. For example if I were to connect a cell phone (i-phone 5) to my network, how would I display it and what its doing in a shell? (I'm on a MBP)
-
Is there such a thing as an online hackers lab and virtual pen testing network?
Pineapple Question
in Questions
Posted
Just curious is there any legality issues using it just to watch whats going on a network.
All I want to do is see what information is coming in and out of my network. I know you can use wireshark but what makes the pineapple different?
Also how user friendly is it?